AppPayload
Note: If you change the following struct you have to update default_entrypoint.ts
Fields
Field | Type |
---|---|
function_calls | FunctionCall; ACCOUNT_MAX_CALLS] |
nonce | Field |
Methods
to_be_bytes
Serializes the payload as an array of bytes. Useful for hashing with sha256.
AppPayload::to_be_bytes(self);
Parameters
Name | Type |
---|---|
self |
execute_calls
AppPayload::execute_calls(self, context);
Parameters
Name | Type |
---|---|
self | |
context | &mut PrivateContext |
Standalone Functions
serialize
serialize(self);
Parameters
Name | Type |
---|---|
self |
hash
hash(self);
Parameters
Name | Type |
---|---|
self |