SolidPeer

blockchain.transaction.get

Look up a transaction by its txid. The Electrum-protocol counterpart to BCHN's getrawtransaction.

Parameters

# Name Type Required Description
0 txid string (64-char hex) yes Transaction identifier.
1 verbose boolean no When true, returns a decoded JSON object; default returns hex.

Returns

  • When verbose is false (default): the raw serialized transaction as a hex string.
  • When verbose is true: a decoded object — txid, version, locktime, vin / vout arrays, size, and confirmation metadata (confirmations, blockhash, blocktime, blockheight) for mined transactions.

Example — hex return

curl https://solidpeer.io/fulcrum/mainnet/<token> \
  -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"blockchain.transaction.get","params":["<txid>"]}'
{ "jsonrpc": "2.0", "id": 1, "result": "0100000001..." }

Example — verbose return

curl https://solidpeer.io/fulcrum/mainnet/<token> \
  -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"blockchain.transaction.get","params":["<txid>", true]}'

Notes

  • Fulcrum indexes the full chain, so any historical transaction is reachable by id (not just recent ones).
  • Unconfirmed (mempool) transactions are also returned; they'll have no confirmations / blockhash fields in the verbose form.

Cost

100 CC on mainnet; 50 CC on testnets/regtest. Cache hits are billed identically.