x402_aptos_get_v1_ledger_info
Retrieve current Aptos ledger state, including chain ID, block height, and ledger timestamp, to verify network status or sync health before submitting transactions.
Instructions
aptos — Aptos fullnode API: account resources, modules, transactions for Aptos addresses. Free public endpoint. [GET /v1/ledger/info] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/ledger/info
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402_aptos_get_v1_ledger_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST/PUT/PATCH/DELETE | |
| query | No | Query parameters, e.g. {base:'USD', quote:'EUR'} | |
| restart | No | Explicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete. | |
| operationId | No | Durable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments. |