POST/api/v1/contract-calls/resubmit

Resubmit a token action

Manually retries a token action that got stuck before reaching the network, returning the Bitcoin transaction id and the action's new status.

AccessRequires a permission in the workspaceMANAGE_WORKSPACE

Use this when an action created by POST /api/v1/call-contract never made it to the Bitcoin network. Identify the action by the UID that GET /api/v1/contract-calls reports for it, pass that as call_uid, and the platform submits it again. The response carries the resulting txid and the call's new status.

note:
Retry only what did not reach the network

Read the call's Status on GET /api/v1/contract-calls first. This endpoint is for a call that stalled on its way to Bitcoin, not for one that reached the network and failed there.

Body parameters
call_uidnumberrequired
The stuck action to retry, as reported in the UID field by contract-calls.
workspace_idnumberrequired
The workspace the token belongs to. You must hold MANAGE_WORKSPACE in it.