Transaction Details
Get detailed information about a specific transaction
Get Transaction
Returns detailed information about a transaction
Endpoint
GET /api/tx/:txid
Parameters
txid
- The transaction ID to retrieve
Code Examples
curl https://api.deccord.com/api/tx/cf973ad2f8f3d5638255e0b29434c44e0184a2204cf834ad2f666d103a697ea3
Response Format
{
"txid": "cf973ad2f8f3d5638255e0b29434c44e0184a2204cf834ad2f666d103a697ea3",
"hash": "cf973ad2f8f3d5638255e0b29434c44e0184a2204cf834ad2f666d103a697ea3",
"version": 2,
"size": 225,
"vsize": 225,
"weight": 900,
"locktime": 0,
"vin": [
{
"txid": "previous_txid",
"vout": 1,
"scriptSig": {
"asm": "...",
"hex": "..."
},
"sequence": 4294967295
}
],
"vout": [
{
"value": 100.00000000,
"n": 0,
"scriptPubKey": {
"asm": "...",
"hex": "...",
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"address1"
]
}
}
],
"hex": "...",
"blockhash": "...",
"confirmations": 1234,
"time": 1624304000,
"blocktime": 1624304000
}
Try It Out
Test the API endpoint directly in your browser