/
BS
bsv-blockchain
/
Teranode Asset Service API.
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 1h ago · Updated 3w ago
5bc9be41e029
latest
Swagger 2.0
Open BSV License
2026-07-17
71
64
113.9 KB
admin
3
post
Mark a block as invalid (requires authentication).
post
Revalidate a previously invalidated block (requires authentication).
get
Get a list of recently invalidated blocks.
block
15
get
Get a block by hash in binary format.
get
Get the fork tree for a block.
get
Get a block by hash in hexadecimal format.
get
Get a block by hash in JSON format.
get
Get the nearest fork heights relative to a block.
get
Get a legacy format block by hash in binary format.
get
Get block locator hashes for chain synchronization.
get
Get block data points for charting.
get
Get a paginated list of blocks.
get
Get N blocks starting from hash in binary format.
get
Get N blocks starting from hash in hexadecimal format.
get
Get N blocks starting from hash in JSON format.
get
Get aggregate blockchain statistics.
get
Get the last N blocks.
get
Get a legacy format block by hash in binary (REST interface).
chain
1
get
Get blockchain network parameters.
fsm
4
get
Get available FSM events for the current state.
get
Get the current FSM state of the node.
post
Send an FSM event to transition state (requires authentication).
get
Get all possible FSM states.
header
15
get
Get the best (tip) block header in binary format.
get
Get the best (tip) block header in hexadecimal format.
get
Get the best (tip) block header in JSON format.
get
Get a single block header by hash in binary format.
get
Get a single block header by hash in hexadecimal format.
get
Get a single block header by hash in JSON format.
get
Get block headers starting from hash in binary format.
get
Get block headers starting from hash in hexadecimal format.
get
Get block headers starting from hash in JSON format.
get
Get block headers from the common ancestor in binary format.
get
Get block headers from the common ancestor in hexadecimal format.
get
Get block headers from the common ancestor in JSON format.
get
Get block headers to the common ancestor in binary format.
get
Get block headers to the common ancestor in hexadecimal format.
get
Get block headers to the common ancestor in JSON format.
health
2
get
Check if the Asset service is running.
get
Check the health of the Asset service and its dependencies.
peers
2
post
Reset reputation metrics for a peer or all peers (requires authentication).
get
Get the current peer registry.
policy
1
get
Get the node's mining policy in ARC-compatible format.
proof
3
get
Get a merkle proof for a transaction in BUMP binary format (BRC-74).
get
Get a merkle proof for a transaction in BUMP hexadecimal format.
get
Get a merkle proof for a transaction in BUMP JSON format.
search
1
get
Search for a blockchain entity by hash or block height.
settings
2
get
Get all node settings with sensitive values redacted (requires authentication).
get
Get the list of settings categories (requires authentication).
status
2
get
Get the current catchup synchronization status.
get
Get the current block heights reported by each service.
subtree
7
get
Get paginated subtree metadata for a block in JSON format.
get
Get a subtree by hash in binary format.
get
Get a subtree by hash in hexadecimal format.
get
Get a subtree by hash in JSON format with pagination.
post
Get transactions from a subtree by posting a list of transaction hashes.
get
Get paginated transaction details from a subtree in JSON format.
get
Get raw subtree data as a binary stream.
transaction
5
post
Submit a raw transaction for propagation.
get
Get a transaction by hash in binary format.
get
Get a transaction by hash in hexadecimal format.
get
Get a transaction by hash in JSON format.
post
Submit multiple raw transactions for propagation.
txmeta
4
get
Get enriched transaction metadata in JSON format.
get
Get raw transaction metadata in binary format.
get
Get raw transaction metadata in hexadecimal format.
get
Get raw transaction metadata in JSON format.
utxo
4
get
Get a UTXO by transaction hash and output index in binary format.
get
Get a UTXO by transaction hash and output index in hexadecimal format.
get
Get a UTXO by transaction hash and output index in JSON format.
get
Get all UTXOs for a transaction in JSON format.
health
Check if the Asset service is running.
Returns uptime information.
get
/alive
Response
Alive check