ic-reactor
    Preparing search index...

    Namespace agent

    Namespaces

    CanisterStatus
    polling
    strategy

    Enumerations

    ReplicaRejectCode
    QueryResponseStatus
    RequestStatusResponseStatus
    Endpoint
    SubmitRequestType
    ReadRequestType
    NodeType
    LookupPathStatus
    LookupSubtreeStatus
    LookupLabelStatus
    ErrorKindEnum

    Classes

    Actor
    Expiry
    SignIdentity
    AnonymousIdentity
    ToCborValue
    Certificate
    AgentError
    TrustError
    ProtocolError
    RejectError
    TransportError
    ExternalError
    LimitError
    InputError
    UnknownError
    CertificateVerificationErrorCode
    CertificateTimeErrorCode
    CertificateHasTooManyDelegationsErrorCode
    CertificateNotAuthorizedErrorCode
    LookupErrorCode
    MalformedLookupFoundValueErrorCode
    MissingLookupValueErrorCode
    DerKeyLengthMismatchErrorCode
    DerPrefixMismatchErrorCode
    DerDecodeLengthMismatchErrorCode
    DerDecodeErrorCode
    DerEncodeErrorCode
    CborDecodeErrorCode
    CborEncodeErrorCode
    HexDecodeErrorCode
    TimeoutWaitingForResponseErrorCode
    CertificateOutdatedErrorCode
    CertifiedRejectErrorCode
    UncertifiedRejectErrorCode
    RequestStatusDoneNoReplyErrorCode
    MissingRootKeyErrorCode
    HashValueErrorCode
    HttpDefaultFetchErrorCode
    IdentityInvalidErrorCode
    IngressExpiryInvalidErrorCode
    CreateHttpAgentErrorCode
    MalformedSignatureErrorCode
    MissingSignatureErrorCode
    MalformedPublicKeyErrorCode
    QuerySignatureVerificationFailedErrorCode
    UnexpectedErrorCode
    HashTreeDecodeErrorCode
    HttpErrorCode
    HttpV3ApiNotSupportedErrorCode
    HttpFetchErrorCode
    MissingCanisterIdErrorCode
    InvalidReadStateRequestErrorCode
    ExpiryJsonDeserializeErrorCode
    Observable
    ObservableLog
    Ed25519PublicKey

    Interfaces

    CallConfig
    ActorConfig
    ActorMethodWithHttpDetails
    ActorMethodExtended
    CreateActorClassOpts
    ReadStateOptions
    HttpDetailsResponse
    QueryResponseBase
    QueryResponseReplied
    QueryResponseRejected
    QueryFields
    CallOptions
    ReadStateResponse
    v2ResponseBody
    v3ResponseBody
    SubmitResponse
    Agent
    HttpAgentBaseRequest
    HttpAgentSubmitRequest
    HttpAgentQueryRequest
    HttpAgentReadStateRequest
    Signed
    UnSigned
    HttpAgentRequestTransformFn
    CallRequest
    QueryRequest
    ReadStateRequest
    KeyPair
    PublicKey
    AnonymousIdentityDescriptor
    PublicKeyIdentityDescriptor
    Cert
    CreateCertificateOptions
    LookupPathResultAbsent
    LookupPathResultUnknown
    LookupPathResultFound
    LookupPathResultError
    LookupSubtreeResultAbsent
    LookupSubtreeResultUnknown
    LookupSubtreeResultFound
    LookupLabelResultAbsent
    LookupLabelResultUnknown
    LookupLabelResultFound
    LookupLabelResultGreater
    LookupLabelResultLess
    PollingOptions

    Type Aliases

    FunctionWithArgsAndReturn
    ActorMethodMappedWithHttpDetails
    ActorMethodMappedExtended
    CanisterInstallMode
    ActorConstructor
    QueryResponse
    ApiQueryResponse
    NodeSignature
    JsonnableExpiry
    HttpAgentRequest
    HttpHeaderField
    Envelope
    ReadRequest
    Nonce
    DerEncodedPublicKey
    Signature
    IdentityDescriptor
    NodePath
    NodeLabel
    NodeValue
    NodeHash
    EmptyHashTree
    ForkHashTree
    LabeledHashTree
    LeafHashTree
    PrunedHashTree
    HashTree
    LookupResult
    SubtreeLookupResult
    LabelLookupResult
    RequestContext
    CallContext
    ObserveFunction
    AgentLog
    PollStrategy
    PollStrategyFactory
    RequestId

    Variables

    ACTOR_METHOD_WITH_HTTP_DETAILS
    ACTOR_METHOD_WITH_CERTIFICATE
    IC_ROOT_KEY
    MANAGEMENT_CANISTER_ID
    JSON_KEY_EXPIRY
    Cbor
    IC_REQUEST_DOMAIN_SEPARATOR
    IC_RESPONSE_DOMAIN_SEPARATOR
    IC_REQUEST_AUTH_DELEGATION_DOMAIN_SEPARATOR
    encodeLenBytes
    encodeLen
    decodeLenBytes
    decodeLen
    DER_COSE_OID
    ED25519_OID
    SECP256K1_OID
    BLS12_381_G2_OID
    unwrapDER
    UNREACHABLE_ERROR
    DEFAULT_POLLING_OPTIONS
    verify
    randomNumber

    Functions

    isV2ResponseBody
    isV3ResponseBody
    calculateIngressExpiry
    makeNonceTransform
    makeExpiryTransform
    httpHeadersTransform
    makeNonce
    createIdentityDescriptor
    hashTreeToString
    lookupResultToBuffer
    reconstruct
    domain_sep
    lookup_path
    lookup_subtree
    flatten_forks
    find_label
    check_canister_ranges
    wrapDER
    fetchCandid
    pollForResponse
    constructRequest
    hashValue
    requestIdOf
    hashOfMap
    blsVerify
    uint8FromBufLike
    uint8ToBuf
    uint8Equals

    References

    ActorSubclass → types.ActorSubclass
    ActorMethod → types.ActorMethod
    HttpAgentOptions → types.HttpAgentOptions
    HttpAgent → types.HttpAgent
    Identity → types.Identity
    defaultStrategy → utils.agent.strategy.defaultStrategy