Endpoint
Description
This is the unified entry point for creating cross-chain intents. An action groups related intents together and provides a single tracking ID. Each intent within an action can have its own execution mode and chain batches.Request Body
bigint directly or use floating-point token amounts. Chain-batch hashes, intent signatures, transfer metadata and calls must agree; use the SDK to build them. The signed nbf and exp values are Unix seconds. The supported intent signature type is ecdsa.
Submission identity and continuation
- Supply an
idempotencyKeymatching0xfollowed by 64 lowercase hex characters when using recoverable submission. Keep the same key and payload for the same operation. A conflicting reuse is rejected. - After a lost response, query
GET /actions/by-submission/:user/:idempotencyKeybefore considering another submission. A missing result does not prove an earlier request cannot still be in flight. autoContinue: truerequires that key, one fully signed7702intent, valid signed timing and available backend continuation. CheckGET /actions/capabilities; the returnedautoContinueflag confirms admission. A worker cannot supply a fresh user signature.- The optional
externalExecutionfield belongs to the SDK-managed routed external-wallet handoff. Use the controlled SDK action rather than assembling a second host-side funding or recovery path.
Execution Modes
- 7702
- non-7702:presign (Not Implemented)
- non-7702:on-demand
EIP-7702 mode uses delegate contract for execution.
Schema Details
TokenTransfer
ChainAuthorization (7702 only)
Response
Success Response (201)
Error Responses
400 Bad Request
400 Bad Request
Example Request
This is a schematic payload. Replace addresses, hashes, signatures and timing with the values prepared for the actual action.chainAuthorizations[].address must be the configured delegate implementation, not the owner address.
Workflow
- Create Action: Submit action with intents
- Track Progress: Use returned
actionIdandintentIdsto monitor status - Continue Execution: Let accepted automatic continuation run, or call the execute-step endpoint for the next eligible manually driven step. Managed orders and conditional intents remain worker-owned.
- Confirm the result: Distinguish source funding, destination receipt and settlement; a
201response means the action was created, not completed.
Next Steps
After creating an action:- Get Action Status - Monitor action and intent status
- Execute Step - Execute individual steps
