One action, several possible routes
- The application supplies the destination chain, asset, beneficiary and protocol calls.
- The SDK builds an eligible route from the user’s selected wallet or account position and prepares the amount, fees and minimum output for review.
- After consent, the SDK obtains the required wallet signatures and transactions. An eligible same-chain, matching-asset External-mode action can execute directly from that wallet. Routed actions can fund the account and execute through Spicenet.
- The SDK reports progress and awaits any required application finalization before completing the action.
Actions, intents and steps
A signed intent digest, an API intent ID and a transaction hash identify different things. Preserve all identifiers returned by the SDK when diagnosing an action.
Submission and execution
POST /actions validates and persists the submitted definition. Creating a record is not confirmation that funds moved or the destination action completed.
For manually driven actions, POST /actions/{actionId}/intents/{intentIndex}/steps/{stepIndex} executes the next eligible step. Steps run in order. Supported fully signed actions can instead request backend automatic continuation; check /actions/capabilities and use the SDK to manage this contract.
There are two usable action modes:
7702: a relayer submits execution using the signed intent and any required EIP-7702 delegation authorizations.non-7702:on-demand: the wallet submits a transaction and the API verifies its hash before continuing supported fulfillment.
non-7702:presign exists in the API schema but is not implemented for execution. The UI SDK’s executionMode configuration is a separate contract; do not infer API mode names from it.
Execution and settlement are separate
Source funding, account credit, destination broadcast, a successful destination receipt and backend settlement are distinct milestones. A source deposit or accepted order does not prove destination completion. For a final EVM destination, supported APIs can returnexecutionStatus from a matching receipt while step settlement remains pending. The SDK can report the destination result at that point and still await application finalization. This does not release backend reservations or stop settlement processing.
