api/v2/tx-specific - Dash

This endpoint returns the transaction exactly as the Dash node reports it, in the node's own JSON shape rather than the indexer's normalized schema.

Parameters

ParameterTypeLocationRequiredDescription
txidstringpathYesThe transaction id

Request

bashcurl --location --request GET 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/api/v2/tx-specific/eb0351c64cde2c42bcdf10b11a1ad44bb63631bb6487de70e78b90c2aa57137c'

example.js

javascriptconst response = await fetch(
    'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/api/v2/tx-specific/eb0351c64cde2c42bcdf10b11a1ad44bb63631bb6487de70e78b90c2aa57137c'
);
console.log(await response.json());

example.py

pythonimport requests

response = requests.get('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/api/v2/tx-specific/eb0351c64cde2c42bcdf10b11a1ad44bb63631bb6487de70e78b90c2aa57137c')

print(response.json())

Response

json{
    "txid": "eb0351c64cde2c42bcdf10b11a1ad44bb63631bb6487de70e78b90c2aa57137c",
    "version": 2,
    "type": 0,
    "size": 1278,
    "locktime": 0,
    "vin": [
        {
            "txid": "3d427a54eac26a3eb54ffa7ea41172043afd64963a810e5d1119e5cb503b6184",
            "vout": 2,
            "sequence": 4294967295
        }
    ],
    "vout": [
        {
            "value": 0.01000010,
            "n": 0,
            "scriptPubKey": {
                "type": "pubkeyhash",
                "addresses": [
                    "XhNtSggaqVecdFxSFeDftR6GZk8D7Ms3JE"
                ]
            }
        }
    ],
    "blockhash": "00000000000000007409ab5be18f66b1f68795ff81d3b3b1d592574fae07c372",
    "height": 2540600,
    "confirmations": 74,
    "time": 1789687365,
    "blocktime": 1789687365,
    "instantlock": true,
    "instantlock_internal": true,
    "chainlock": true
}

Response Parameters

FieldTypeDescription
txidstringThe transaction id
versionintegerTransaction version
typeintegerDash special-transaction type. 0 for a standard payment
sizeintegerSerialized size in bytes
locktimeintegerTransaction lock time
vinarrayRaw inputs as reported by the node
voutarrayRaw outputs with node-native scriptPubKey and values denominated in DASH
blockhashstringHash of the containing block
heightintegerHeight of the containing block
confirmationsintegerNumber of confirmations
timeintegerBlock time as a Unix timestamp
blocktimeintegerBlock time as a Unix timestamp
instantlockbooleanTrue when the transaction is locked by InstantSend
instantlock_internalbooleanTrue when this node itself observed the InstantSend lock, rather than inferring it
chainlockbooleanTrue when the containing block is protected by a ChainLock

instantlock, instantlock_internal, chainlock, and type are Dash-specific and have no equivalent in the normalized api/v2/tx schema, which is shared across all coins. This endpoint is the only way to read them.

For payment flows they matter more than confirmation count: instantlock: true means the inputs are locked by the masternode quorum and the transaction cannot be double-spent, which is normally reached within seconds. chainlock: true means the block itself is final and cannot be reorganized. Either is a stronger settlement signal on Dash than waiting a fixed number of blocks.

Values in vout are denominated in DASH as decimal numbers, not in duffs as integer strings. This is the node's own encoding; the normalized api/v2/tx endpoint reports duffs instead.

Use Cases

  • Node Parity: Read the node's exact transaction JSON for compatibility
  • Script Inspection: Access native scriptPubKey fields not in the normalized schema
  • Migration: Match output from a direct node integration during a switch
  • Debugging: Compare normalized and node-native views of a transaction

Error Handling

HTTP StatusMessageDescription
400Bad requestThe transaction id is not a valid 64-character hex string
404Not foundNo transaction with the requested id is indexed
500Internal errorThe indexer failed to read the transaction