crypto

Base contract read

Execute one bounded read-only eth_call against a resolved Base mainnet block, retain call and block evidence, and optionally decode caller-specified ABI output types.

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

post/v1/crypto/base-contract-read

Request

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

Request body

contractstring required

The 20-byte Base mainnet contract address to read

call_datastring required

ABI-encoded eth_call data, including the function selector

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

Base block tag resolved once before executing the read

from_addressstring nullable

Optional msg.sender context; no private key or transaction is used

gas_limitinteger

Bounded execution allowance for the read-only call

output_typesstring[]

Optional primitive ABI output types used to decode a successful result; arrays and tuples are intentionally excluded

Example request

{
  "call_data": "0x313ce567",
  "output_types": [
    "uint8"
  ]
}

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.