processQueryCallResponse
processQueryCallResponse(
response,canisterId,methodName):Uint8Array
Defined in: utils/agent.ts:38
Process a query call response following the exact logic from @icp-sdk/core/agent Actor.
Parameters
Section titled “Parameters”response
Section titled “response”ApiQueryResponse
The query call response options
canisterId
Section titled “canisterId”Principal
methodName
Section titled “methodName”string
Returns
Section titled “Returns”Uint8Array
The raw reply bytes
Throws
Section titled “Throws”CallError if the query was rejected