Documentation Index
Fetch the complete documentation index at: https://spiceflow-docs.spicenet.io/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
actionId | string | Yes | Action ID |
intentIndex | number | Yes | Intent index (0-based) |
stepIndex | number | Yes | Step index (0-based) |
Request Body by Mode
- 7702
- non-7702:presign (Not Implemented)
- non-7702:on-demand
For EIP-7702 intents, simply trigger execution:The solver executes the delegated calls using the stored authorization.
Response
Success Response (200)
| Field | Type | Description |
|---|---|---|
status | string | Step status after execution |
transactionHash | string | Transaction hash (if applicable) |
Already Processed (202)
If the step is not increated status:
Execution Flow
7702 Mode
- Solver retrieves stored calls and authorization
- Broadcasts transaction with delegated execution
- Updates step status on confirmation
non-7702:on-demand Mode
Whenaction: "execute" with a transaction hash:
- Verify Transaction: Check tx exists on-chain and succeeded
- Replay Prevention: Reject if hash already processed
- Update Balances: Credit user’s Spice balance from token transfers
- Execute Solver Transfers: Send tokens on destination chain(s)
- Auto-Advance: Automatically execute remaining steps (solver transfers)
action: "register":
- Verify Transaction: Check tx exists and succeeded
- Store Reference: Save hash for tracking, no balance updates
- Status: Set to
registeredinstead ofsuccess
Error Responses
400 Bad Request
404 Not Found
500 Internal Server Error
Example Requests
7702 Mode
non-7702:on-demand Mode
Notes
- Steps must be executed in order (0, 1, 2, …)
- For
non-7702:on-demand, the user is responsible for sending the source chain transaction - After a successful
executeaction, remaining steps (solver transfers on destination chains) are auto-executed
