Hiro · Capability
Stacks Blockchain API — Stacking
Stacks Blockchain API — Stacking. 4 operations. Lead operation: Get latest PoX events. Self-contained Naftiko capability covering one Hiro business surface.
What You Can Do
GET
Get
— Get latest PoX events
/v1/extended/v1/{pox}/events
GET
Get
— Get events for a stacking address
/v1/extended/v1/{pox}/stacker/{principal}
GET
Get
— Get PoX events for a transaction
/v1/extended/v1/{pox}/tx/{tx-id}
GET
Getpooldelegations
— Stacking pool members
/v1/extended/v1/{pox}/{pool-principal}/delegations
MCP Tools
get-latest-pox-events
Get latest PoX events
read-only
idempotent
get-events-stacking-address
Get events for a stacking address
read-only
idempotent
get-pox-events-transaction
Get PoX events for a transaction
read-only
idempotent
stacking-pool-members
Stacking pool members
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Stacks Blockchain API — Stacking
description: 'Stacks Blockchain API — Stacking. 4 operations. Lead operation: Get latest PoX events. Self-contained Naftiko
capability covering one Hiro business surface.'
tags:
- Hiro
- Stacking
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-stacking
baseUri: https://api.hiro.so
description: Stacks Blockchain API — Stacking business capability. Self-contained, no shared references.
resources:
- name: extended-v1-pox-events
path: /extended/v1/{pox}/events
operations:
- name: get
method: GET
description: Get latest PoX events
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: limit
in: query
type: integer
description: Results per page
- name: offset
in: query
type: integer
description: Result offset
- name: pox
in: path
type: string
required: true
- name: extended-v1-pox-stacker-principal
path: /extended/v1/{pox}/stacker/{principal}
operations:
- name: get
method: GET
description: Get events for a stacking address
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: pox
in: path
type: string
required: true
- name: principal
in: path
type: string
required: true
- name: extended-v1-pox-tx-tx_id
path: /extended/v1/{pox}/tx/{tx_id}
operations:
- name: get
method: GET
description: Get PoX events for a transaction
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: pox
in: path
type: string
required: true
- name: tx_id
in: path
type: string
required: true
- name: extended-v1-pox-pool_principal-delegations
path: /extended/v1/{pox}/{pool_principal}/delegations
operations:
- name: getpooldelegations
method: GET
description: Stacking pool members
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: limit
in: query
type: integer
description: Results per page
- name: offset
in: query
type: integer
description: Result offset
- name: after_block
in: query
type: integer
description: If specified, only delegation events after the given block will be included
- name: height
in: query
type: integer
- name: unanchored
in: query
type: boolean
description: Include data from unanchored (i.e. unconfirmed) microblocks
- name: pox
in: path
type: string
required: true
- name: pool_principal
in: path
type: string
description: Address principal of the stacking pool delegator
required: true
exposes:
- type: rest
namespace: stacks-blockchain-stacking-rest
port: 8080
description: REST adapter for Stacks Blockchain API — Stacking. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/extended/v1/{pox}/events
name: extended-v1-pox-events
description: REST surface for extended-v1-pox-events.
operations:
- method: GET
name: get
description: Get latest PoX events
call: stacks-blockchain-stacking.get
with:
limit: rest.limit
offset: rest.offset
pox: rest.pox
outputParameters:
- type: object
mapping: $.
- path: /v1/extended/v1/{pox}/stacker/{principal}
name: extended-v1-pox-stacker-principal
description: REST surface for extended-v1-pox-stacker-principal.
operations:
- method: GET
name: get
description: Get events for a stacking address
call: stacks-blockchain-stacking.get
with:
pox: rest.pox
principal: rest.principal
outputParameters:
- type: object
mapping: $.
- path: /v1/extended/v1/{pox}/tx/{tx-id}
name: extended-v1-pox-tx-tx-id
description: REST surface for extended-v1-pox-tx-tx_id.
operations:
- method: GET
name: get
description: Get PoX events for a transaction
call: stacks-blockchain-stacking.get
with:
pox: rest.pox
tx_id: rest.tx_id
outputParameters:
- type: object
mapping: $.
- path: /v1/extended/v1/{pox}/{pool-principal}/delegations
name: extended-v1-pox-pool-principal-delegations
description: REST surface for extended-v1-pox-pool_principal-delegations.
operations:
- method: GET
name: getpooldelegations
description: Stacking pool members
call: stacks-blockchain-stacking.getpooldelegations
with:
limit: rest.limit
offset: rest.offset
after_block: rest.after_block
height: rest.height
unanchored: rest.unanchored
pox: rest.pox
pool_principal: rest.pool_principal
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: stacks-blockchain-stacking-mcp
port: 9090
transport: http
description: MCP adapter for Stacks Blockchain API — Stacking. One tool per consumed operation, routed inline through
this capability's consumes block.
tools:
- name: get-latest-pox-events
description: Get latest PoX events
hints:
readOnly: true
destructive: false
idempotent: true
call: stacks-blockchain-stacking.get
with:
limit: tools.limit
offset: tools.offset
pox: tools.pox
outputParameters:
- type: object
mapping: $.
- name: get-events-stacking-address
description: Get events for a stacking address
hints:
readOnly: true
destructive: false
idempotent: true
call: stacks-blockchain-stacking.get
with:
pox: tools.pox
principal: tools.principal
outputParameters:
- type: object
mapping: $.
- name: get-pox-events-transaction
description: Get PoX events for a transaction
hints:
readOnly: true
destructive: false
idempotent: true
call: stacks-blockchain-stacking.get
with:
pox: tools.pox
tx_id: tools.tx_id
outputParameters:
- type: object
mapping: $.
- name: stacking-pool-members
description: Stacking pool members
hints:
readOnly: true
destructive: false
idempotent: true
call: stacks-blockchain-stacking.getpooldelegations
with:
limit: tools.limit
offset: tools.offset
after_block: tools.after_block
height: tools.height
unanchored: tools.unanchored
pox: tools.pox
pool_principal: tools.pool_principal
outputParameters:
- type: object
mapping: $.