agent/agent/api library

Classes

Agent
An Agent able to make calls and queries to a Replica.
CallOptions
Options when doing a Agent.call call.
QueryFields
Options when doing a Agent.query call.
QueryResponse
QueryResponseBase
QueryResponseRejected
QueryResponseReplied
QueryResponseStatus
type QueryResponse = QueryResponseReplied | QueryResponseRejected;
ReadStateOptions
Options when doing a Agent.readState call.
ReadStateResponse
ReplicaRejectCode
Codes used by the replica for rejecting a message. See https://sdk.dfinity.org/docs/interface-spec/#reject-codes for the interface spec.
Reply
ResponseBody
SubmitResponse