For the complete documentation index, see llms.txt. This page is also available as Markdown.

Full transaction for block

Returns a full blockchain transaction with all balance updates for a specific block. Results are limited to the last 30 days for Community users.

get
/blockchain-v2/{asset}/blocks/{block_hash}/transactions/{txid}
Authorizations
api_keystringRequired

Coin Metrics API key can be specified as ?api_key= query parameter.

Path parameters
assetstringRequired

Asset name.

block_hashstringRequired

Block hash.

txidstringRequired

Transaction identifier (txid).

Query parameters
include_sub_accountsbooleanOptional

Boolean indicating if the response should contain sub-accounts.
This parameter is disabled for Community users.

Default: false
prettybooleanOptional

Human-readable formatting of JSON responses.

Default: false
ignore_unsupported_errorsbooleanOptional

Ignore "unsupported" errors for not currently supported by Coin Metrics items.

Default: false
Responses
200

Blockchain full transaction.

application/json

Blockchain full transaction response.

txidstringRequired

Identifier (txid) of the transaction.

consensus_timestring · date-timeRequired

The time in ISO 8601 date-time format. Always with nanoseconds precision.

miner_timestring · date-timeOptional

The time in ISO 8601 date-time format. Always with nanoseconds precision.

tx_positionstring · int64Required

Transaction position.

min_chain_sequence_numberstring · int64Optional

Chain sequence number.

max_chain_sequence_numberstring · int64Optional

Chain sequence number.

n_balance_updatesstring · int64Required

Number of balance updates.

amountstring · decimalRequired

Sum of all debits in the transaction.

stalestringOptional

This field is set to true if the corresponding block is stale. Otherwise omitted.

block_hashstringRequired

Hash of the block.

heightstring · int64Required

Height of the block.

versionstringOptional

Version of the transaction.

physical_sizestring · decimalOptional

Physical size of the transaction, bytes.

consensus_sizestring · decimalOptional

Consensus size of the transaction.

feestring · decimalOptional

Fee of the transaction.

get/blockchain-v2/{asset}/blocks/{block_hash}/transactions/{txid}

Last updated

Was this helpful?