naftiko: 1.0.0-alpha2 info: label: Stacks Blockchain API — Non-Fungible Tokens description: 'Stacks Blockchain API — Non-Fungible Tokens. 3 operations. Lead operation: Non-Fungible Token history. Self-contained Naftiko capability covering one Hiro business surface.' tags: - Hiro - Non-Fungible Tokens created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HIRO_API_KEY: HIRO_API_KEY capability: consumes: - type: http namespace: stacks-blockchain-non-fungible-tokens baseUri: https://api.hiro.so description: Stacks Blockchain API — Non-Fungible Tokens business capability. Self-contained, no shared references. resources: - name: extended-v1-tokens-nft-history path: /extended/v1/tokens/nft/history operations: - name: getnfthistory method: GET description: Non-Fungible Token history outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: asset_identifier in: query type: string description: asset class identifier required: true - name: value in: query type: string description: hex representation of the token's unique value required: true - name: limit in: query type: integer description: max number of events to fetch - name: offset in: query type: integer description: index of first event to fetch - name: unanchored in: query type: boolean description: Include data from unanchored (i.e. unconfirmed) microblocks - name: tx_metadata in: query type: boolean description: whether or not to include the complete transaction metadata instead of just `tx_id`. Enabling this option can affect performance and response times. required: true - name: extended-v1-tokens-nft-holdings path: /extended/v1/tokens/nft/holdings operations: - name: getnftholdings method: GET description: Non-Fungible Token holdings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: principal in: query type: string required: true - name: asset_identifiers in: query type: array - name: limit in: query type: integer description: max number of tokens to fetch - name: offset in: query type: integer description: index of first tokens to fetch - name: tx_metadata in: query type: boolean description: whether or not to include the complete transaction metadata instead of just `tx_id`. Enabling this option can affect performance and response times. required: true - name: extended-v1-tokens-nft-mints path: /extended/v1/tokens/nft/mints operations: - name: getnftmints method: GET description: Non-Fungible Token mints outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: asset_identifier in: query type: string description: asset class identifier required: true - name: limit in: query type: integer description: max number of events to fetch - name: offset in: query type: integer description: index of first event to fetch - name: unanchored in: query type: boolean description: Include data from unanchored (i.e. unconfirmed) microblocks - name: tx_metadata in: query type: boolean description: whether or not to include the complete transaction metadata instead of just `tx_id`. Enabling this option can affect performance and response times. required: true exposes: - type: rest namespace: stacks-blockchain-non-fungible-tokens-rest port: 8080 description: REST adapter for Stacks Blockchain API — Non-Fungible Tokens. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/extended/v1/tokens/nft/history name: extended-v1-tokens-nft-history description: REST surface for extended-v1-tokens-nft-history. operations: - method: GET name: getnfthistory description: Non-Fungible Token history call: stacks-blockchain-non-fungible-tokens.getnfthistory with: asset_identifier: rest.asset_identifier value: rest.value limit: rest.limit offset: rest.offset unanchored: rest.unanchored tx_metadata: rest.tx_metadata outputParameters: - type: object mapping: $. - path: /v1/extended/v1/tokens/nft/holdings name: extended-v1-tokens-nft-holdings description: REST surface for extended-v1-tokens-nft-holdings. operations: - method: GET name: getnftholdings description: Non-Fungible Token holdings call: stacks-blockchain-non-fungible-tokens.getnftholdings with: principal: rest.principal asset_identifiers: rest.asset_identifiers limit: rest.limit offset: rest.offset tx_metadata: rest.tx_metadata outputParameters: - type: object mapping: $. - path: /v1/extended/v1/tokens/nft/mints name: extended-v1-tokens-nft-mints description: REST surface for extended-v1-tokens-nft-mints. operations: - method: GET name: getnftmints description: Non-Fungible Token mints call: stacks-blockchain-non-fungible-tokens.getnftmints with: asset_identifier: rest.asset_identifier limit: rest.limit offset: rest.offset unanchored: rest.unanchored tx_metadata: rest.tx_metadata outputParameters: - type: object mapping: $. - type: mcp namespace: stacks-blockchain-non-fungible-tokens-mcp port: 9090 transport: http description: MCP adapter for Stacks Blockchain API — Non-Fungible Tokens. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: non-fungible-token-history description: Non-Fungible Token history hints: readOnly: true destructive: false idempotent: true call: stacks-blockchain-non-fungible-tokens.getnfthistory with: asset_identifier: tools.asset_identifier value: tools.value limit: tools.limit offset: tools.offset unanchored: tools.unanchored tx_metadata: tools.tx_metadata outputParameters: - type: object mapping: $. - name: non-fungible-token-holdings description: Non-Fungible Token holdings hints: readOnly: true destructive: false idempotent: true call: stacks-blockchain-non-fungible-tokens.getnftholdings with: principal: tools.principal asset_identifiers: tools.asset_identifiers limit: tools.limit offset: tools.offset tx_metadata: tools.tx_metadata outputParameters: - type: object mapping: $. - name: non-fungible-token-mints description: Non-Fungible Token mints hints: readOnly: true destructive: false idempotent: true call: stacks-blockchain-non-fungible-tokens.getnftmints with: asset_identifier: tools.asset_identifier limit: tools.limit offset: tools.offset unanchored: tools.unanchored tx_metadata: tools.tx_metadata outputParameters: - type: object mapping: $.