{ "opencollection": "1.0.0", "info": { "name": "Aptos Node Accounts Tables API", "version": "1.2.0" }, "items": [ { "info": { "name": "Tables", "type": "folder" }, "items": [ { "info": { "name": "Get table item", "type": "http" }, "http": { "method": "POST", "url": "/v1/tables/:table_handle/item", "params": [ { "name": "table_handle", "value": "", "type": "path", "description": "Table handle hex encoded 32-byte string" }, { "name": "ledger_version", "value": "", "type": "query", "description": "Ledger version to get state of account\n\nIf not provided, it will be the latest version" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Get a table item at a specific ledger version from the table identified by {table_handle}\nin the path and the \"key\" (TableItemRequest) provided in the request body.\n\nThis is a POST endpoint because the \"key\" for requesting a specific\ntable item (TableItemRequest) could be quite complex, as each of its\nfields could themselves be composed of other structs. This makes it\nimpractical to express using query params, meaning GET isn't an option.\n\nThe Aptos nodes prune account state history, via a confi" }, { "info": { "name": "Get raw table item", "type": "http" }, "http": { "method": "POST", "url": "/v1/tables/:table_handle/raw_item", "params": [ { "name": "table_handle", "value": "", "type": "path", "description": "Table handle hex encoded 32-byte string" }, { "name": "ledger_version", "value": "", "type": "query", "description": "Ledger version to get state of account\n\nIf not provided, it will be the latest version" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Get a table item at a specific ledger version from the table identified by {table_handle}\nin the path and the \"key\" (RawTableItemRequest) provided in the request body.\n\nThe `get_raw_table_item` requires only a serialized key comparing to the full move type information\ncomparing to the `get_table_item` api, and can only return the query in the bcs format.\n\nThe Aptos nodes prune account state history, via a configurable time window.\nIf the requested ledger version has been pruned, the server respo" } ] } ], "bundled": true }