{"uid":"cap_rR40-Vgp_p024QTs5c8eD","slug":"logicnodes-aptos-view-function-caller-3e9d6d07","name":"LogicNodes Aptos View Function Caller","description":"Exact answers for AI agents: 40+ tools for EVM chains and Aptos, gas on 14 chains, never a guess. Free tier; pay per call in USDC (x402) on 13 networks.","url":"https://logicnodes.io/paid/v1/tools/aptos_view?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","description":"Aptos CAIP-2 id: aptos:1 (mainnet, default) or aptos:2 (testnet)"},"function":{"type":"string"},"arguments":{"type":"array","items":{}},"ledgerVersion":{"anyOf":[{"type":"string"},{"type":"integer","maximum":9007199254740991,"minimum":0}],"description":"read the chain exactly as of this ledger version (default: the current one, pinned for consistency)"},"typeArguments":{"type":"array","items":{"type":"string"}}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"aptos_view"}},"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_NimxaQWu-_LovEsgFPxFK","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":"Calls a read-only (view) function on the Aptos blockchain and returns the exact result as of a specified ledger version","exampleAgentPrompt":"Call the Aptos mainnet view function '0x1::coin::balance' with type argument '0x1::aptos_coin::AptosCoin' and the address '0xabc123...' as argument, and tell me the exact token balance returned.","exampleUseCases":[{"title":"DeFi protocol liquidity check","prompt":"Query the Aptos mainnet view function for the Liquidswap pool at '0x190d44266241744264b964a37b8f09863167a12d::liquidity_pool::get_reserves' with the relevant type arguments for APT/USDC and tell me the current reserves."},{"title":"NFT collection ownership lookup","prompt":"On Aptos mainnet, call the view function '0x3::token::get_token_data' with the creator address, collection name, and token name as arguments so I can read the on-chain metadata for that NFT."},{"title":"Historical state audit at ledger version","prompt":"Call the Aptos testnet view function '0x1::staking_config::get' with no arguments, but read the state as of ledger version 5000000, so I can see exactly what the staking config looked like at that point in time."}],"resultDescription":"A JSON object containing an 'ok' boolean and the 'tool' identifier along with the return value(s) of the invoked Aptos Move view function. The response reflects the exact on-chain state at the requested ledger version (or current if unspecified).","failureModes":["Invalid or non-existent Move function identifier returns an error","Mismatched type arguments or argument count causes execution failure","Specifying a ledger version beyond the node's history returns a not-found error","Using an unsupported chain ID (not aptos:1 or aptos:2) returns a validation error","Network or node unavailability returns a timeout or 5xx error","Payment failure via x402 protocol blocks request execution"],"whenToPreferThis":"Choose this endpoint when you need to call a specific read-only Move view function on Aptos mainnet or testnet and get a deterministic, exact result — especially when historical accuracy at a specific ledger version is required. Prefer it over general-purpose RPC providers when you need reliable, agent-optimized responses with per-call micropayment billing and no infrastructure setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:40:42.843Z","isFirstParty":false,"canonicalSlug":"logicnodes-aptos-view-function-caller-3e9d6d07"}