Combine multiple actions into a single atomic transaction.
Bundle swaps and venue deposits/withdrawals into one transaction executed through the Earn Account. This saves gas compared to executing actions separately and ensures all actions succeed or fail together.
Example: Swap AUSD to USDC, then deposit USDC into a vault - all in one transaction.
Action types:
V2_SWAP: Swap tokens within the Earn AccountV2_MANAGE: Deposit/withdraw to ERC-4626 vaults or Aave marketsActions execute in the order provided.
Gas sponsorship: Set gas_sponsorship=true to receive EIP-712 typed data. Owner signs the typed data, then submit to /gas_sponsorship/prepare.
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.