Execute Tx Batching
Execute a batch of transactions in a single multicall using EIP-7702.
This endpoint allows bundling multiple contract calls into a single atomic transaction, reducing gas costs and ensuring all operations succeed or fail together. The transaction must be authorized using the /authorization endpoint to prevent replay attacks.
Body
Request model for executing a multicall.
The chain to use.
base:mainnet
, ethereum:mainnet
, arbitrum:mainnet
The address of the transaction sender.
"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
EIP-7702 authorization
List of possible actions for multicall
{
"action_type": "ALLOWANCE_INCREASE",
"body": {
"amount": "1000",
"contract_name": "UniswapV3Router",
"token": "WETH"
}
}
{
"action_type": "UNISWAP_BUY_EXACTLY",
"body": {
"amount_in_maximum": "1",
"amount_out": "1000",
"fee": "0.01",
"token_in": "WETH",
"token_out": "USDC",
"wrap_eth": true
}
}
{
"action_type": "ALLOWANCE_INCREASE",
"body": {
"amount": "1000",
"contract_name": "AaveV3Pool",
"token": "USDC"
}
}
{
"action_type": "ALLOWANCE_INCREASE",
"body": {
"amount": "0.1",
"contract_name": "AaveV3Pool",
"token": "WETH"
}
}
{
"action_type": "AAVE_SUPPLY",
"body": { "amount": "1000", "token": "USDC" }
}
{
"action_type": "AAVE_BORROW",
"body": {
"amount": "0.1",
"interest_rate_mode": "variable",
"token": "WETH"
}
}
Response
The chain id of the transaction
The data of the transaction
The sender of the transaction
The gas of the transaction
The recipient of the transaction
The value of the transaction
The nonce of the address
The max fee per gas of the transaction
The max priority fee per gas of the transaction
EIP-7702 authorization