GET
/api/v1/contract-callsList token actions
Lists the history of actions performed on one token, each with the action name, the arguments it was called with, its payload hash, the proposal carrying it, and its current status.
AccessRequires a permission in the workspace
PAYMENT_APPROVEPAYMENT_INITVIEW_BALANCESEvery action submitted through
POST /api/v1/call-contract is recorded here: what was
called, with which arguments, and how far it got. Read a call's Status for its
progress, and pass its UID to
POST /api/v1/contract-calls/resubmit when a
call stalled before reaching the network.
This response uses capitalised field names. PsbtID, ArgsJSON, and
PayloadHex are null until they are set, so a call that has not yet been
built into a proposal carries no PsbtID. ArgsJSON is the args array as it
was sent, encoded as a JSON string.
Query parameters
contract_uidnumberrequiredThe token whose action history to list.
workspace_idnumberrequiredThe workspace the token belongs to. You must hold PAYMENT_APPROVE, PAYMENT_INIT, or VIEW_BALANCES in it.
Was this page helpful?