{"uid":"cap_ttuJfBb28XVUG7ctCjOpP","slug":"dopaminedesk-evm-call-read-only-smart-contract-caller-0ede32ee","name":"DopamineDesk EVM Call – Read-Only Smart Contract Caller","description":"Execute one bounded eth_call against Base, Ethereum, or Arbitrum and return raw deterministic call data without signing or broadcasting.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/evm_call","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["to"],"properties":{"to":{"type":"string","description":"Destination contract address."},"data":{"type":"string","description":"0x-prefixed calldata, limited to 32,768 bytes; defaults to 0x."},"from":{"type":"string","description":"Optional caller address for call context."},"block":{"type":"string","description":"Block tag or height; defaults to latest."},"chain":{"type":"string","description":"base, ethereum, or arbitrum; defaults to base."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","network","broadcast","return_data","return_data_bytes"],"properties":{"network":{"type":"string"},"success":{"type":"boolean"},"broadcast":{"type":"boolean"},"return_data":{"type":"string"},"return_data_bytes":{"type":"integer"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"network":"base","success":true,"broadcast":false,"return_data":"0x...","return_data_bytes":32}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uhhfLXB16Ry5rUXZ3lsxA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a read-only EVM call (eth_call) against a smart contract on Base, Ethereum, or Arbitrum and returns the raw return data without broadcasting a transaction.","exampleAgentPrompt":"Call the USDC contract on Base at 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA with calldata 0x70a08231000000000000000000000000<wallet_address> to check the token balance — use the latest block.","exampleUseCases":[{"title":"Check ERC-20 token balance on-chain","prompt":"Call the WETH contract on Ethereum at 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 with the balanceOf calldata for address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 and tell me what the raw return value is."},{"title":"Read DeFi protocol state on Arbitrum","prompt":"Query the Uniswap V3 pool contract on Arbitrum at 0xC6962004f452bE9203591991D15f6b388e09E8D0 using the slot0 function calldata so I can see the current price and tick — use the latest block."},{"title":"Simulate call at historical block","prompt":"Execute an eth_call against the Compound cDAI contract on Ethereum at block 17000000 with the exchangeRateCurrent calldata and return the raw hex data so I can reconstruct the historical exchange rate."}],"resultDescription":"A JSON object containing: 'network' (chain name), 'success' (boolean), 'broadcast' (always false for read calls), 'return_data' (0x-prefixed hex string of the ABI-encoded return value), and 'return_data_bytes' (integer byte length of the return data). The agent must ABI-decode return_data according to the function's output types to extract human-readable values.","failureModes":["Invalid contract address returns success:false with empty return_data","Malformed or oversized calldata (>32,768 bytes) causes a 400 error","Unsupported chain name (anything other than base, ethereum, arbitrum) returns an error","Contract reverts the call — return_data may contain a revert reason in ABI-encoded form","Invalid block tag or non-existent block height causes lookup failure","Payment failure via x402 results in 402 response before the call is executed"],"whenToPreferThis":"Choose this endpoint when you need to read on-chain smart contract state from Base, Ethereum, or Arbitrum without setting up your own RPC node or Web3 library — particularly useful in agent workflows where you need contract data mid-task and want pay-per-use USDC billing via x402 rather than managing API keys or subscriptions. Prefer it for simple view/pure function calls; it does not broadcast transactions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:38.399Z","isFirstParty":false}