This endpoint allows combining multiple actions (swaps, vault deposits/withdrawals, Aave deposits/withdrawals) into a single atomic transaction executed via the Earn account).
Example Use Case: Swap USDC to AUSD, then deposit AUSD into a vault - all in one transaction.
Actions are executed in the order they are provided. Each action type has its own parameters:
The bundled transaction can be gas-sponsored by setting gas_sponsorship=true.
This returns EIP-712 typed data that the owner must sign and submit to
/gas_sponsorship/prepare for execution by a gas sponsor.
The owner's wallet address that controls the Earn Account.
Target blockchain network where the bundled actions will execute.
base, ethereum, arbitrum List of actions to bundle. Actions are executed in order.
1If true, returns EIP-712 typed data for gas sponsorship. The owner must sign this data and submit to /gas_sponsorship/prepare.
Successful Response
Number of individual transactions bundled in this execution.
Unsigned transaction for direct execution by the owner. Present when gas_sponsorship=false.
EIP-712 typed data for gas-sponsored execution. Present when gas_sponsorship=true. Owner must sign and submit to /gas_sponsorship/prepare.