crypto

Base transaction 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.

Price: $0.004 USDC via x402 exact payment on Base and Solana.

post/v1/crypto/base-gas-estimate

Request

  • Base URL: https://apiacre.com
  • URL: https://apiacre.com/v1/crypto/base-gas-estimate
  • Auth: none required

Request body

from_addressstring required

The 20-byte Base mainnet sender context; no private key is used

tostring required

The 20-byte Base mainnet transaction destination

value_weistring

Unsigned ETH value in wei as a canonical decimal string

call_datastring

Optional even-length hexadecimal transaction calldata

block_tag'latest' | 'safe' | 'finalized'

Base block tag resolved once before estimation

buffer_percentinteger

Bounded percentage added to the RPC estimate for a suggested gas limit

Example request

{
  "value_wei": "0",
  "call_data": "0x313ce567"
}

Response

Successful Response

request_idstring required
servicestring required
versionstring
dataobject required

Changes

No recorded changes to this operation across all 1 revision of this API.