{"uid":"cap_VdmxCe-5F6284FbEZgVr7","slug":"apiacre-base-contract-read-d5a7b954","name":"APIAcre Base Contract Read","description":"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.","url":"https://apiacre.com/v1/crypto/base-contract-read","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"contract":{"type":"string"},"block_tag":{"enum":["latest","safe","finalized"],"type":"string"},"call_data":{"type":"string"},"gas_limit":{"type":"integer"},"from_address":{"anyOf":[{"type":"string"},{"type":"null"}]},"output_types":{"type":"array","items":{"type":"string"}}}},"responseSchema":{"type":"json","example":{"data":{"call":{"from":null,"contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","gasLimit":2000000,"selector":"0x313ce567","dataBytes":4},"block":{"hash":"0x1111111111111111111111111111111111111111111111111111111111111111","number":34567890,"timestamp":"2026-08-10T16:00:00+00:00","requestedTag":"safe"},"result":{"hex":"0x0000000000000000000000000000000000000000000000000000000000000006","bytes":32,"sha256":"d1ec675902ef1633427ca360b290b0b3045a0d9058ddb5e648b4c3c3224c5c68","truncated":false,"returnedBytes":32},"source":"https://docs.base.org/base-chain/api-reference/ethereum-json-rpc-api/eth_call","network":"eip155:8453","success":true,"readOnly":true,"rpcError":null,"warnings":[],"disclaimer":"Read-only public Base mainnet execution at one resolved block. No transaction...","outputTypes":["uint8"],"decodeStatus":"decoded","decodedValues":[6],"transactionBroadcast":false},"meta":{"cached":false,"sources":[],"warnings":[],"duration_ms":42,"next_actions":[]},"service":"crypto.base-contract-read","version":"1","request_id":"018f1f54-7f38-7ba2-8dc3-5f90272d9f1a"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Lpj2rTTqOF73VcOCt0Q7a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a single read-only eth_call against a specified Base mainnet contract at a resolved block, returning call results with optional ABI decoding and block evidence.","exampleAgentPrompt":"Call the Base mainnet contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 with the calldata for totalSupply() and decode the result as a uint256 — give me the raw value and the resolved block number as evidence.","exampleUseCases":[{"title":"Check DeFi pool reserve on Base","prompt":"Query the Base mainnet contract at 0x4200000000000000000000000000000000000006 using the getReserves() calldata and decode the output as (uint112, uint112, uint32) so I can see the current pool reserves with block proof."},{"title":"Verify NFT ownership on Base","prompt":"Call the Base contract 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA with ownerOf(uint256) calldata for token ID 42 and decode the result as an address — I need the block evidence too for auditing."},{"title":"Read governance proposal state","prompt":"Execute a read-only eth_call on the Base mainnet governance contract at 0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5 with proposalState(uint256) calldata for proposal 7, decode the output as uint8, and show me the resolved block details."}],"resultDescription":"Returns the raw hex return data from eth_call, optionally ABI-decoded into typed values matching the caller-supplied output types, along with the resolved block number, block hash, and call parameters as verifiable evidence of the query.","failureModes":["Contract address does not exist on Base mainnet — returns error indicating no contract at address","Invalid or malformed calldata — call reverts or returns empty data","ABI output type mismatch — decoding fails if specified types don't match actual return data","Block resolution failure — specified block not yet finalized or not available","Rate limit or payment failure — call rejected if x402 payment not provided or insufficient"],"whenToPreferThis":"Choose this endpoint when you need a single, auditable, read-only call to a Base mainnet smart contract without operating your own Ethereum node, especially when you need block-level evidence or optional ABI decoding of the response. Prefer it over full node RPC when you want a verifiable, bounded call with retained evidence suitable for compliance or audit trails.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:58:18.638Z","isFirstParty":false}