Compose multiple instructions and intents for your supertransaction
/v1/instructions/compose
endpoint enables developers to combine multiple operations (intent
, intent-simple
, and build
) into a single composable supertransaction. It supports runtime value injection, allowing dynamic responses to outputs from previous steps.
intent
, intent-simple
, and build
callsruntimeErc20Balance
to dynamically use outputs from previous operationsruntimeErc20Balance
to deposit the actual amount receivedParameter | Type | Description |
---|---|---|
type | string | Operation type: /instructions/build , /instructions/intent-simple , or /instructions/intent |
data | object | Operation-specific data matching the respective endpoint |
runtimeErc20Balance
to work with the actual amount received.
/instructions/intent
- Complex multi-asset intents/instructions/intent-simple
- Cross-chain swaps/instructions/build
- Direct contract calls