relayTransaction
Relays a transaction to Base Mainnet, paying the native gas on your behalf and charging your wallet equivalent USDC via EIP-3009 receiveWithAuthorization. Matches: gasless tx relayer, submit transaction base, pay gas in usdc.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_contract": "<target_contract>",
"calldata": "<calldata>",
"max_gas_fee_usdc": "<max_gas_fee_usdc>",
"sender": "<sender>",
"nonce": "<nonce>",
"valid_before": "<valid_before>",
"signature": "<signature>"
},
"name": "relayTransaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | 32-byte hex nonce for the EIP-3009 transfer | |
| sender | Yes | EVM address of the sender paying USDC | |
| calldata | Yes | The hex payload calldata of the call | |
| signature | Yes | Hex signature authorizing the USDC receiveWithAuthorization transfer | |
| valid_before | Yes | Unix timestamp after which signature is invalid | |
| target_contract | Yes | The destination contract address to call | |
| max_gas_fee_usdc | Yes | Maximum USDC authorized for gas payment (e.g. 0.50) |