Skip to main content
GET
/
api
/
btc
/
txs
/
{txid}
Get transaction by txid
curl --request GET \
  --url https://nexus.gerowallet.io/api/btc/txs/{txid} \
  --header 'Authorization: Bearer <token>'
{
  "txid": "<string>",
  "hash": "<string>",
  "version": 123,
  "locktime": 123,
  "size": 123,
  "vsize": 123,
  "weight": 123,
  "blockhash": "<string>",
  "blockheight": 123,
  "blocktime": 123,
  "confirmations": 123,
  "vin": "<unknown>",
  "vout": "<unknown>",
  "hex": "<string>"
}

Authorizations

Authorization
string
header
required

JWT Token Authentication

Path Parameters

txid
string
required
Pattern: ^[a-fA-F0-9]{64}$

Query Parameters

network
enum<string>
Available options:
CARDANO_MAINNET,
CARDANO_PREPROD,
CARDANO_PREVIEW,
APEX_PRIME_MAINNET,
APEX_VECTOR_MAINNET,
APEX_VECTOR_TESTNET,
MIDNIGHT_MAINNET,
MIDNIGHT_PREPROD,
MIDNIGHT_PREVIEW,
BITCOIN_MAINNET,
BITCOIN_TESTNET4

Response

200 - */*

OK

Bitcoin transaction

txid
string

Transaction id (txid)

hash
string

Witness transaction id

version
integer<int32>

Transaction version

locktime
integer<int64>

Locktime

size
integer<int64>

Size in bytes

vsize
integer<int64>

Virtual size (vsize) in vbytes

weight
integer<int64>

Weight (BIP141)

blockhash
string

Block hash containing this tx

blockheight
integer<int64>

Block height

blocktime
integer<int64>

Block time (epoch seconds)

confirmations
integer<int64>

Number of confirmations

vin
any

Transaction inputs (array)

vout
any

Transaction outputs (array)

hex
string

Raw hex (only present when explicitly requested)