Build simple cross-chain swap intents for your supertransaction
/v1/instructions/intent-simple
endpoint enables straightforward cross-chain token swaps. Users specify source and destination tokens across different chains, and the system handles routing through bridge aggregators and swap providers.
Parameter | Type | Description |
---|---|---|
srcToken | string | Source token address |
dstToken | string | Destination token address |
srcChainId | number | Source chain ID |
dstChainId | number | Destination chain ID |
fromAddress | string | User wallet address |
amount | string | Amount to swap |
mode | string | Execution mode: smart-account , eoa , or eoa-7702 |
slippage | number | Slippage tolerance (0-1, default 0.01) |
allowSwapProviders | string | Optional: Comma-separated allowed providers |
denySwapProviders | string | Optional: Comma-separated denied providers |
allowBridgeProviders | string | Optional: Comma-separated allowed bridges |
denyBridgeProviders | string | Optional: Comma-separated denied bridges |
allowSwapProviders
/denySwapProviders
and allowBridgeProviders
/denyBridgeProviders
to control provider selection.