ic-reactor
Example
GitHub
Preparing search index...
react
utils
agent
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
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Namespaces
Canister
Status
polling
strategy
Enumerations
Replica
Reject
Code
Query
Response
Status
Request
Status
Response
Status
Endpoint
Submit
Request
Type
Read
Request
Type
Node
Type
Lookup
Path
Status
Lookup
Subtree
Status
Lookup
Label
Status
Error
Kind
Enum
Classes
Actor
Expiry
Sign
Identity
Anonymous
Identity
To
Cbor
Value
Certificate
Agent
Error
Trust
Error
Protocol
Error
Reject
Error
Transport
Error
External
Error
Limit
Error
Input
Error
Unknown
Error
Certificate
Verification
Error
Code
Certificate
Time
Error
Code
Certificate
Has
Too
Many
Delegations
Error
Code
Certificate
Not
Authorized
Error
Code
Lookup
Error
Code
Malformed
Lookup
Found
Value
Error
Code
Missing
Lookup
Value
Error
Code
Der
Key
Length
Mismatch
Error
Code
Der
Prefix
Mismatch
Error
Code
Der
Decode
Length
Mismatch
Error
Code
Der
Decode
Error
Code
Der
Encode
Error
Code
Cbor
Decode
Error
Code
Cbor
Encode
Error
Code
Hex
Decode
Error
Code
Timeout
Waiting
For
Response
Error
Code
Certificate
Outdated
Error
Code
Certified
Reject
Error
Code
Uncertified
Reject
Error
Code
Request
Status
Done
No
Reply
Error
Code
Missing
Root
Key
Error
Code
Hash
Value
Error
Code
Http
Default
Fetch
Error
Code
Identity
Invalid
Error
Code
Ingress
Expiry
Invalid
Error
Code
Create
Http
Agent
Error
Code
Malformed
Signature
Error
Code
Missing
Signature
Error
Code
Malformed
Public
Key
Error
Code
Query
Signature
Verification
Failed
Error
Code
Unexpected
Error
Code
Hash
Tree
Decode
Error
Code
Http
Error
Code
Http
V3
Api
Not
Supported
Error
Code
Http
Fetch
Error
Code
Missing
Canister
Id
Error
Code
Invalid
Read
State
Request
Error
Code
Expiry
Json
Deserialize
Error
Code
Observable
Observable
Log
Ed25519
Public
Key
Interfaces
Call
Config
Actor
Config
Actor
Method
With
Http
Details
Actor
Method
Extended
Create
Actor
Class
Opts
Read
State
Options
Http
Details
Response
Query
Response
Base
Query
Response
Replied
Query
Response
Rejected
Query
Fields
Call
Options
Read
State
Response
v2
Response
Body
v3
Response
Body
Submit
Response
Agent
Http
Agent
Base
Request
Http
Agent
Submit
Request
Http
Agent
Query
Request
Http
Agent
Read
State
Request
Signed
Un
Signed
Http
Agent
Request
Transform
Fn
Call
Request
Query
Request
Read
State
Request
Key
Pair
Public
Key
Anonymous
Identity
Descriptor
Public
Key
Identity
Descriptor
Cert
Create
Certificate
Options
Lookup
Path
Result
Absent
Lookup
Path
Result
Unknown
Lookup
Path
Result
Found
Lookup
Path
Result
Error
Lookup
Subtree
Result
Absent
Lookup
Subtree
Result
Unknown
Lookup
Subtree
Result
Found
Lookup
Label
Result
Absent
Lookup
Label
Result
Unknown
Lookup
Label
Result
Found
Lookup
Label
Result
Greater
Lookup
Label
Result
Less
Polling
Options
Type Aliases
Function
With
Args
And
Return
Actor
Method
Mapped
With
Http
Details
Actor
Method
Mapped
Extended
Canister
Install
Mode
Actor
Constructor
Query
Response
Api
Query
Response
Node
Signature
Jsonnable
Expiry
Http
Agent
Request
Http
Header
Field
Envelope
Read
Request
Nonce
Der
Encoded
Public
Key
Signature
Identity
Descriptor
Node
Path
Node
Label
Node
Value
Node
Hash
Empty
Hash
Tree
Fork
Hash
Tree
Labeled
Hash
Tree
Leaf
Hash
Tree
Pruned
Hash
Tree
Hash
Tree
Lookup
Result
Subtree
Lookup
Result
Label
Lookup
Result
Request
Context
Call
Context
Observe
Function
Agent
Log
Poll
Strategy
Poll
Strategy
Factory
Request
Id
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
encode
Len
Bytes
encode
Len
decode
Len
Bytes
decode
Len
DER_
COSE_
OID
ED25519_
OID
SECP256
K1_
OID
BLS12_
381_
G2_
OID
unwrap
DER
UNREACHABLE_
ERROR
DEFAULT_
POLLING_
OPTIONS
verify
random
Number
Functions
is
V2
Response
Body
is
V3
Response
Body
calculate
Ingress
Expiry
make
Nonce
Transform
make
Expiry
Transform
http
Headers
Transform
make
Nonce
create
Identity
Descriptor
hash
Tree
To
String
lookup
Result
To
Buffer
reconstruct
domain_
sep
lookup_
path
lookup_
subtree
flatten_
forks
find_
label
check_
canister_
ranges
wrap
DER
fetch
Candid
poll
For
Response
construct
Request
hash
Value
request
Id
Of
hash
Of
Map
bls
Verify
uint8
From
Buf
Like
uint8
To
Buf
uint8
Equals
References
Actor
Subclass
Actor
Method
Http
Agent
Options
Http
Agent
Identity
default
Strategy
Example
GitHub
ic-reactor
Loading...