naftiko: 1.0.0-alpha2 info: label: Blockfrost.io ~ API Documentation — Cardano » Blocks description: 'Blockfrost.io ~ API Documentation — Cardano » Blocks. 11 operations. Lead operation: Blockfrost Specific Block in a Slot in an Epoch. Self-contained Naftiko capability covering one Blockfrost business surface.' tags: - Blockfrost - Cardano » Blocks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BLOCKFROST_API_KEY: BLOCKFROST_API_KEY capability: consumes: - type: http namespace: blockfrost-cardano-blocks baseUri: https://cardano-mainnet.blockfrost.io/api/v0 description: Blockfrost.io ~ API Documentation — Cardano » Blocks business capability. Self-contained, no shared references. resources: - name: blocks-epoch-epoch_number-slot-slot_number path: /blocks/epoch/{epoch_number}/slot/{slot_number} operations: - name: get method: GET description: Blockfrost Specific Block in a Slot in an Epoch outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: epoch_number in: path type: integer description: Epoch for specific epoch slot. required: true - name: slot_number in: path type: integer description: Slot position for requested block. required: true - name: blocks-latest path: /blocks/latest operations: - name: get method: GET description: Blockfrost Latest Block outputRawFormat: json outputParameters: - name: result type: object value: $. - name: blocks-latest-txs path: /blocks/latest/txs operations: - name: get method: GET description: Blockfrost Latest Block Transactions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: count in: query type: integer description: The number of results displayed on one page. - name: page in: query type: integer description: The page number for listing the results. - name: order in: query type: string description: Ordered by tx index in the block. - name: blocks-latest-txs-cbor path: /blocks/latest/txs/cbor operations: - name: get method: GET description: Blockfrost Latest Block Transactions with CBOR Data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: count in: query type: integer description: The number of results displayed on one page. - name: page in: query type: integer description: The page number for listing the results. - name: order in: query type: string description: Ordered by tx index in the block. - name: blocks-slot-slot_number path: /blocks/slot/{slot_number} operations: - name: get method: GET description: Blockfrost Specific Block in a Slot outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: slot_number in: path type: integer description: Slot position for requested block. required: true - name: blocks-hash_or_number path: /blocks/{hash_or_number} operations: - name: get method: GET description: Blockfrost Specific Block outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: hash_or_number in: path type: string description: Hash or number of the requested block. required: true - name: blocks-hash_or_number-addresses path: /blocks/{hash_or_number}/addresses operations: - name: get method: GET description: Blockfrost Addresses Affected in a Specific Block outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: hash_or_number in: path type: string description: Hash of the requested block. required: true - name: count in: query type: integer description: The number of results displayed on one page. - name: page in: query type: integer description: The page number for listing the results. - name: blocks-hash_or_number-next path: /blocks/{hash_or_number}/next operations: - name: get method: GET description: Blockfrost Listing of Next Blocks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: hash_or_number in: path type: string description: Hash of the requested block. required: true - name: count in: query type: integer description: The number of results displayed on one page. - name: page in: query type: integer description: The page number for listing the results. - name: blocks-hash_or_number-previous path: /blocks/{hash_or_number}/previous operations: - name: get method: GET description: Blockfrost Listing of Previous Blocks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: hash_or_number in: path type: string description: Hash of the requested block required: true - name: count in: query type: integer description: The number of results displayed on one page. - name: page in: query type: integer description: The page number for listing the results. - name: blocks-hash_or_number-txs path: /blocks/{hash_or_number}/txs operations: - name: get method: GET description: Blockfrost Block Transactions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: hash_or_number in: path type: string description: Hash of the requested block. required: true - name: count in: query type: integer description: The number of results displayed on one page. - name: page in: query type: integer description: The page number for listing the results. - name: order in: query type: string description: Ordered by tx index in the block. - name: blocks-hash_or_number-txs-cbor path: /blocks/{hash_or_number}/txs/cbor operations: - name: get method: GET description: Blockfrost Block Transactions with CBOR Data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: hash_or_number in: path type: string description: Hash of the requested block. required: true - name: count in: query type: integer description: The number of results displayed on one page. - name: page in: query type: integer description: The page number for listing the results. - name: order in: query type: string description: Ordered by tx index in the block. authentication: type: apikey key: project_id value: '{{env.BLOCKFROST_API_KEY}}' placement: header exposes: - type: rest namespace: blockfrost-cardano-blocks-rest port: 8080 description: REST adapter for Blockfrost.io ~ API Documentation — Cardano » Blocks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/blocks/epoch/{epoch-number}/slot/{slot-number} name: blocks-epoch-epoch-number-slot-slot-number description: REST surface for blocks-epoch-epoch_number-slot-slot_number. operations: - method: GET name: get description: Blockfrost Specific Block in a Slot in an Epoch call: blockfrost-cardano-blocks.get with: epoch_number: rest.epoch_number slot_number: rest.slot_number outputParameters: - type: object mapping: $. - path: /v1/blocks/latest name: blocks-latest description: REST surface for blocks-latest. operations: - method: GET name: get description: Blockfrost Latest Block call: blockfrost-cardano-blocks.get outputParameters: - type: object mapping: $. - path: /v1/blocks/latest/txs name: blocks-latest-txs description: REST surface for blocks-latest-txs. operations: - method: GET name: get description: Blockfrost Latest Block Transactions call: blockfrost-cardano-blocks.get with: count: rest.count page: rest.page order: rest.order outputParameters: - type: object mapping: $. - path: /v1/blocks/latest/txs/cbor name: blocks-latest-txs-cbor description: REST surface for blocks-latest-txs-cbor. operations: - method: GET name: get description: Blockfrost Latest Block Transactions with CBOR Data call: blockfrost-cardano-blocks.get with: count: rest.count page: rest.page order: rest.order outputParameters: - type: object mapping: $. - path: /v1/blocks/slot/{slot-number} name: blocks-slot-slot-number description: REST surface for blocks-slot-slot_number. operations: - method: GET name: get description: Blockfrost Specific Block in a Slot call: blockfrost-cardano-blocks.get with: slot_number: rest.slot_number outputParameters: - type: object mapping: $. - path: /v1/blocks/{hash-or-number} name: blocks-hash-or-number description: REST surface for blocks-hash_or_number. operations: - method: GET name: get description: Blockfrost Specific Block call: blockfrost-cardano-blocks.get with: hash_or_number: rest.hash_or_number outputParameters: - type: object mapping: $. - path: /v1/blocks/{hash-or-number}/addresses name: blocks-hash-or-number-addresses description: REST surface for blocks-hash_or_number-addresses. operations: - method: GET name: get description: Blockfrost Addresses Affected in a Specific Block call: blockfrost-cardano-blocks.get with: hash_or_number: rest.hash_or_number count: rest.count page: rest.page outputParameters: - type: object mapping: $. - path: /v1/blocks/{hash-or-number}/next name: blocks-hash-or-number-next description: REST surface for blocks-hash_or_number-next. operations: - method: GET name: get description: Blockfrost Listing of Next Blocks call: blockfrost-cardano-blocks.get with: hash_or_number: rest.hash_or_number count: rest.count page: rest.page outputParameters: - type: object mapping: $. - path: /v1/blocks/{hash-or-number}/previous name: blocks-hash-or-number-previous description: REST surface for blocks-hash_or_number-previous. operations: - method: GET name: get description: Blockfrost Listing of Previous Blocks call: blockfrost-cardano-blocks.get with: hash_or_number: rest.hash_or_number count: rest.count page: rest.page outputParameters: - type: object mapping: $. - path: /v1/blocks/{hash-or-number}/txs name: blocks-hash-or-number-txs description: REST surface for blocks-hash_or_number-txs. operations: - method: GET name: get description: Blockfrost Block Transactions call: blockfrost-cardano-blocks.get with: hash_or_number: rest.hash_or_number count: rest.count page: rest.page order: rest.order outputParameters: - type: object mapping: $. - path: /v1/blocks/{hash-or-number}/txs/cbor name: blocks-hash-or-number-txs-cbor description: REST surface for blocks-hash_or_number-txs-cbor. operations: - method: GET name: get description: Blockfrost Block Transactions with CBOR Data call: blockfrost-cardano-blocks.get with: hash_or_number: rest.hash_or_number count: rest.count page: rest.page order: rest.order outputParameters: - type: object mapping: $. - type: mcp namespace: blockfrost-cardano-blocks-mcp port: 9090 transport: http description: MCP adapter for Blockfrost.io ~ API Documentation — Cardano » Blocks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: blockfrost-specific-block-slot-epoch description: Blockfrost Specific Block in a Slot in an Epoch hints: readOnly: true destructive: false idempotent: true call: blockfrost-cardano-blocks.get with: epoch_number: tools.epoch_number slot_number: tools.slot_number outputParameters: - type: object mapping: $. - name: blockfrost-latest-block description: Blockfrost Latest Block hints: readOnly: true destructive: false idempotent: true call: blockfrost-cardano-blocks.get outputParameters: - type: object mapping: $. - name: blockfrost-latest-block-transactions description: Blockfrost Latest Block Transactions hints: readOnly: true destructive: false idempotent: true call: blockfrost-cardano-blocks.get with: count: tools.count page: tools.page order: tools.order outputParameters: - type: object mapping: $. - name: blockfrost-latest-block-transactions-cbor description: Blockfrost Latest Block Transactions with CBOR Data hints: readOnly: true destructive: false idempotent: true call: blockfrost-cardano-blocks.get with: count: tools.count page: tools.page order: tools.order outputParameters: - type: object mapping: $. - name: blockfrost-specific-block-slot description: Blockfrost Specific Block in a Slot hints: readOnly: true destructive: false idempotent: true call: blockfrost-cardano-blocks.get with: slot_number: tools.slot_number outputParameters: - type: object mapping: $. - name: blockfrost-specific-block description: Blockfrost Specific Block hints: readOnly: true destructive: false idempotent: true call: blockfrost-cardano-blocks.get with: hash_or_number: tools.hash_or_number outputParameters: - type: object mapping: $. - name: blockfrost-addresses-affected-specific-block description: Blockfrost Addresses Affected in a Specific Block hints: readOnly: true destructive: false idempotent: true call: blockfrost-cardano-blocks.get with: hash_or_number: tools.hash_or_number count: tools.count page: tools.page outputParameters: - type: object mapping: $. - name: blockfrost-listing-next-blocks description: Blockfrost Listing of Next Blocks hints: readOnly: true destructive: false idempotent: true call: blockfrost-cardano-blocks.get with: hash_or_number: tools.hash_or_number count: tools.count page: tools.page outputParameters: - type: object mapping: $. - name: blockfrost-listing-previous-blocks description: Blockfrost Listing of Previous Blocks hints: readOnly: true destructive: false idempotent: true call: blockfrost-cardano-blocks.get with: hash_or_number: tools.hash_or_number count: tools.count page: tools.page outputParameters: - type: object mapping: $. - name: blockfrost-block-transactions description: Blockfrost Block Transactions hints: readOnly: true destructive: false idempotent: true call: blockfrost-cardano-blocks.get with: hash_or_number: tools.hash_or_number count: tools.count page: tools.page order: tools.order outputParameters: - type: object mapping: $. - name: blockfrost-block-transactions-cbor-data description: Blockfrost Block Transactions with CBOR Data hints: readOnly: true destructive: false idempotent: true call: blockfrost-cardano-blocks.get with: hash_or_number: tools.hash_or_number count: tools.count page: tools.page order: tools.order outputParameters: - type: object mapping: $.