{ "opencollection": "1.0.0", "info": { "name": "Blockfrost.io ~ API Documentation Cardano » Accounts Cardano » Blocks API", "version": "0.1.89" }, "request": { "auth": { "type": "apikey", "key": "project_id", "value": "{{project_id}}", "placement": "header" } }, "items": [ { "info": { "name": "Cardano » Blocks", "type": "folder" }, "items": [ { "info": { "name": "Latest block", "type": "http" }, "http": { "method": "GET", "url": "https://cardano-mainnet.blockfrost.io/api/v0/blocks/latest" }, "docs": "Return the latest block available to the backends, also known as the\ntip of the blockchain.\n" }, { "info": { "name": "Latest block transactions", "type": "http" }, "http": { "method": "GET", "url": "https://cardano-mainnet.blockfrost.io/api/v0/blocks/latest/txs", "params": [ { "name": "count", "value": "", "type": "query", "description": "The number of results displayed on one page." }, { "name": "page", "value": "", "type": "query", "description": "The page number for listing the results." }, { "name": "order", "value": "", "type": "query", "description": "Ordered by tx index in the block.\nThe ordering of items from the point of view of the blockchain,\nnot the page listing itself. By default, we return oldest first, newest last.\n" } ] }, "docs": "Return the transactions within the latest block." }, { "info": { "name": "Latest block transactions with CBOR data", "type": "http" }, "http": { "method": "GET", "url": "https://cardano-mainnet.blockfrost.io/api/v0/blocks/latest/txs/cbor", "params": [ { "name": "count", "value": "", "type": "query", "description": "The number of results displayed on one page." }, { "name": "page", "value": "", "type": "query", "description": "The page number for listing the results." }, { "name": "order", "value": "", "type": "query", "description": "Ordered by tx index in the block.\nThe ordering of items from the point of view of the blockchain,\nnot the page listing itself. By default, we return oldest first, newest last.\n" } ] }, "docs": "Return the transactions within the latest block, including CBOR representations." }, { "info": { "name": "Specific block", "type": "http" }, "http": { "method": "GET", "url": "https://cardano-mainnet.blockfrost.io/api/v0/blocks/:hash_or_number", "params": [ { "name": "hash_or_number", "value": "4ea1ba291e8eef538635a53e59fddba7810d1679631cc3aed7c8e6c4091a516a", "type": "path", "description": "Hash or number of the requested block." } ] }, "docs": "Return the content of a requested block.\n" }, { "info": { "name": "Listing of next blocks", "type": "http" }, "http": { "method": "GET", "url": "https://cardano-mainnet.blockfrost.io/api/v0/blocks/:hash_or_number/next", "params": [ { "name": "hash_or_number", "value": "5ea1ba291e8eef538635a53e59fddba7810d1679631cc3aed7c8e6c4091a516a", "type": "path", "description": "Hash of the requested block." }, { "name": "count", "value": "", "type": "query", "description": "The number of results displayed on one page." }, { "name": "page", "value": "", "type": "query", "description": "The page number for listing the results." } ] }, "docs": "Return the list of blocks following a specific block.\n" }, { "info": { "name": "Listing of previous blocks", "type": "http" }, "http": { "method": "GET", "url": "https://cardano-mainnet.blockfrost.io/api/v0/blocks/:hash_or_number/previous", "params": [ { "name": "hash_or_number", "value": "4873401", "type": "path", "description": "Hash of the requested block" }, { "name": "count", "value": "", "type": "query", "description": "The number of results displayed on one page." }, { "name": "page", "value": "", "type": "query", "description": "The page number for listing the results." } ] }, "docs": "Return the list of blocks preceding a specific block.\n" }, { "info": { "name": "Specific block in a slot", "type": "http" }, "http": { "method": "GET", "url": "https://cardano-mainnet.blockfrost.io/api/v0/blocks/slot/:slot_number", "params": [ { "name": "slot_number", "value": "30895909", "type": "path", "description": "Slot position for requested block." } ] }, "docs": "Return the content of a requested block for a specific slot.\n" }, { "info": { "name": "Specific block in a slot in an epoch", "type": "http" }, "http": { "method": "GET", "url": "https://cardano-mainnet.blockfrost.io/api/v0/blocks/epoch/:epoch_number/slot/:slot_number", "params": [ { "name": "epoch_number", "value": "219", "type": "path", "description": "Epoch for specific epoch slot." }, { "name": "slot_number", "value": "30895909", "type": "path", "description": "Slot position for requested block." } ] }, "docs": "Return the content of a requested block for a specific slot in an epoch.\n" }, { "info": { "name": "Block transactions", "type": "http" }, "http": { "method": "GET", "url": "https://cardano-mainnet.blockfrost.io/api/v0/blocks/:hash_or_number/txs", "params": [ { "name": "hash_or_number", "value": "4873401", "type": "path", "description": "Hash of the requested block." }, { "name": "count", "value": "", "type": "query", "description": "The number of results displayed on one page." }, { "name": "page", "value": "", "type": "query", "description": "The page number for listing the results." }, { "name": "order", "value": "", "type": "query", "description": "Ordered by tx index in the block.\nThe ordering of items from the point of view of the blockchain,\nnot the page listing itself. By default, we return oldest first, newest last.\n" } ] }, "docs": "Return the transactions within the block." }, { "info": { "name": "Block transactions with CBOR data", "type": "http" }, "http": { "method": "GET", "url": "https://cardano-mainnet.blockfrost.io/api/v0/blocks/:hash_or_number/txs/cbor", "params": [ { "name": "hash_or_number", "value": "4873401", "type": "path", "description": "Hash of the requested block." }, { "name": "count", "value": "", "type": "query", "description": "The number of results displayed on one page." }, { "name": "page", "value": "", "type": "query", "description": "The page number for listing the results." }, { "name": "order", "value": "", "type": "query", "description": "Ordered by tx index in the block.\nThe ordering of items from the point of view of the blockchain,\nnot the page listing itself. By default, we return oldest first, newest last.\n" } ] }, "docs": "Return the transactions within the block, including CBOR representations." }, { "info": { "name": "Addresses affected in a specific block", "type": "http" }, "http": { "method": "GET", "url": "https://cardano-mainnet.blockfrost.io/api/v0/blocks/:hash_or_number/addresses", "params": [ { "name": "hash_or_number", "value": "4873401", "type": "path", "description": "Hash of the requested block." }, { "name": "count", "value": "", "type": "query", "description": "The number of results displayed on one page." }, { "name": "page", "value": "", "type": "query", "description": "The page number for listing the results." } ] }, "docs": "Return list of addresses affected in the specified block with additional information, sorted by the bech32 address, ascending." } ] } ], "bundled": true }