Latest Spark Transactions
This endpoint returns the most recent Spark transactions of all types, sorted by timestamp.
get
Get Latest Transactions
Authorizations
Query parameters
limitnumber · min: 1 · max: 500OptionalDefault:
10offsetnumberOptionalDefault:
0fromTimestampstringOptional
toTimestampstringOptional
sortstring · enumOptionalPossible values:
orderstring · enumOptionalDefault:
ascPossible values: Responses
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/latestGET /v1/spark/tx/latest HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"id": "text",
"type": "text",
"status": "text",
"createdAt": "text",
"updatedAt": "text",
"amountSats": 1,
"tokenAmount": 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
},
"from": {
"type": "text",
"identifier": "text",
"pubkey": "text"
},
"to": {
"type": "text",
"identifier": "text",
"pubkey": "text"
},
"bitcoinTxid": "text",
"valueUsd": 1
}
]Last updated