Spark Transaction Details
Returns detailed information about a specific Spark transaction, including token movements and participants.
get
Retrieves detailed information about a specific transaction (Spark, Bitcoin, Lightning, or Token) by its ID or hash
Authorizations
Path parameters
txidstringRequiredExample:
f2ef24168014984fcfcd36843184e2b1ec3d481b30d94f6cd7af9e3c57d5a25cResponses
200
Default Response
application/json
400
Invalid input
application/json
401
Unauthorized
application/json
404
Not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
get
/v1/spark/tx/{txid}GET /v1/spark/tx/{txid} HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"id": "text",
"type": "text",
"status": "text",
"createdAt": "text",
"updatedAt": "text",
"from": {
"type": "text",
"identifier": "text",
"pubkey": "text"
},
"to": {
"type": "text",
"identifier": "text",
"pubkey": "text"
},
"amountSats": 1,
"amount": 1,
"valueUsd": 1,
"timeTakenSeconds": 1,
"tokenMetadata": {
"tokenIdentifier": "text",
"tokenAddress": "text",
"name": "text",
"ticker": "text",
"decimals": 1,
"issuerPublicKey": "text",
"maxSupply": 1,
"isFreezable": true,
"iconUrl": "text"
},
"multiIoDetails": {
"inputs": [
{
"address": "text",
"pubkey": "text",
"amount": 1
}
],
"outputs": [
{
"address": "text",
"pubkey": "text",
"amount": 1
}
],
"totalInputAmount": 1,
"totalOutputAmount": 1
},
"txid": "text",
"bitcoinTxData": {
"txid": "text",
"vin": [
{
"prevout": "text",
"witness": "text",
"value": 1
}
],
"vout": [
{
"scriptpubkeyAddress": "text",
"value": 1
}
],
"status": {
"confirmed": true,
"blockHeight": 1,
"blockTime": 1
},
"fee": 1
}
}Last updated