Lightning - Get Onchain Transaction

get/api/v2/{coin}/wallet/{walletId}/lightning/transaction/{txid}

Retrieve Lightning Network transaction information for the given transaction ID.

Path Parameters

  • coinstringRequired
    A lightning coin name.
    Example: lnbtc
  • walletIdstringRequired
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$
  • txidstringRequired
    The transaction ID of the Lightning Network transaction.

200 Response

id string
Transaction ID
normalizedTxHash string
Normalized transaction hash
blockHeight integer
Block height
blockHash string
Block hash
blockPosition integer
Block position
inputIds array[string]
List of input IDs
entries array[object]
List of transaction entries
inputs integer
Number of inputs
outputs integer
Number of outputs
value integer
Transaction value
valueString string
Transaction value as string
address string
Transaction address
wallet string
Wallet ID
inputs array[object]
List of transaction inputs
id string
Output ID
value integer
Output value
valueString string
Output value as string
wallet string
Wallet ID
address string
Output address
outputs array[object]
List of transaction outputs
id string
Output ID
value integer
Output value
valueString string
Output value as string
wallet string
Wallet ID
address string
Output address
size integer
Transaction size
date string <date-time>
Transaction date
fee integer
Transaction fee
feeString string
Transaction fee as string
hex string
Transaction hex
confirmations integer
Number of confirmations
label string
Transaction label

400 Response

One of
error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code