Transfer tokens between an owner’s wallet and their Earn Account.
Use DEPOSIT to move tokens from the owner’s wallet into their Earn Account. Use WITHDRAW to move tokens from the Earn Account back to the owner’s wallet.
Gas-sponsored deposits require two steps:
Step 1 (once per token): Set up Permit2 allowance
Step 2 (each transfer): Execute the gas-sponsored transfer
gas_sponsorship=true to get EIP-712 typed dataNote: This endpoint moves tokens to/from the Earn Account itself—not into yield venues. To deposit into a vault or Aave market, use the manage endpoint.
The owner's wallet address.
Blockchain network
base, ethereum, arbitrum The token you would like to transfer.
"USDC"
"WETH"
"0xA0b86a33E6441ccF30EE5DdEF1E9b652C91ac1c8"
The amount of 'token' to transfer.
x > 01.5
Whether you are depositing to or withdrawing from your earn account.
DEPOSIT, WITHDRAW Optionally request gas sponsorship. If set to true, EIP-712 signature data will be returned that must be signed by the owner and submitted to the /gas_sponsorship/prepare endpoint.
The address that will call Permit2's permitTransferFrom to execute the transfer. When action is 'DEPOSIT' and gas_sponsorship is true: - If provided, the signature will authorize this address (typically a gas sponsor) to pull tokens. - If not provided, defaults to the Earn Account (Safe) address, allowing the transfer to be included in a bundle transaction where the Safe pulls the tokens itself.