Transaction details (v3)

RPC node

Get transaction details by transaction ID using the v3 endpoint.

GET

Parameters

Path Parameters

txid
REQUIRED
string Transaction ID (64 hexadecimal characters)
Status codeDescription
200Transaction JSON with index_block_hash, transaction body and result
404Not found
500Internal Server Error
501Transaction indexing not enabled
cURL
curl -L \
"https://api.hiro.so/v3/transaction/{txid}" \
-H 'Accept: application/json'
Response
{
"index_block_hash": "e0b6c25b1dac0c0e1c75e41ab46bd6d70d9a2d02ffed8f2c0733b6e686289c38",
"result": "(ok true)",
"tx": "808000000004008bc5147525b8f477f0bc4522a88c8339b2494db5000000000000001a0000000000000000010123eab800bc9f639c5aa05d154148a981c89fd21064a6f8cafd8649800a56c9ea77e2e46bed8bd9ef0f173b19b20d6c43e2a9f37b078df5c74b9e6f9be75b650e01020000000007588687edeb02248d402c316ed33e22ea0e73af8703ce5011f3e25f5ce12f00f903ca504742117ee0588687edeb02248d402c316ed33e22ea0e73af87c54e0d94e4dd298cf19778352906a2fcf0af74582b07dfb57c710288874f71ca00000001006bc51b33e9f3626944eb879147e18111581f8f9b"
}

How is this guide?