Structs
- The error that is sent back to users of IC if something goes wrong. It’s designed to be copyable and serializable so that we can persist it in ingress history.
Enums
- User-facing error codes.
- This struct describes the different types that executing a Wasm function in a canister can produce
Functions
- Call a canister candid method, anonymous. The state machine executes update calls synchronously, so there is no need to poll for the result.
- Call a canister candid method, authenticated. The state machine executes update calls synchronously, so there is no need to poll for the result.
- Call a canister candid query method, anonymous.
- Call a canister candid query method, authenticated.
- A helper function that we use to implement both
call_candid
andquery_candid
.