crypto.base-gas-estimate
Estimate gas for one Base mainnet transaction context at a resolved block, add a bounded caller-selected buffer, and preserve RPC rejection evidence without signing or broadcasting.
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": {
"from_address": "<from_address>",
"to": "<to>"
},
"name": "crypto.base-gas-estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The 20-byte Base mainnet transaction destination | |
| block_tag | No | Base block tag resolved once before estimation | safe |
| call_data | No | Optional even-length hexadecimal transaction calldata | 0x |
| value_wei | No | Unsigned ETH value in wei as a canonical decimal string | 0 |
| from_address | Yes | The 20-byte Base mainnet sender context; no private key is used | |
| buffer_percent | No | Bounded percentage added to the RPC estimate for a suggested gas limit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured Base transaction gas estimate result | |
| meta | Yes | ||
| service | Yes | ||
| version | Yes | ||
| request_id | Yes | Unique request identifier |