Skip to main content

fetchActions

function fetchActions(
publicKey: PublicKey,
actionStates?: ActionStates,
tokenId?: Field): Promise<{
"actions": string[][];
"hash": string;
}[] | {
"error": {
"statusCode": 404;
"statusText": string;
};
}>

Parameters

publicKey: PublicKey

actionStates?: ActionStates

tokenId?: Field

Returns

Promise\<{ "actions": string[][]; "hash": string; }[] | { "error": { "statusCode": 404; "statusText": string; }; }>

A list of emitted sequencing actions associated to the given public key.

Source

lib/mina/mina-instance.ts:197