curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/rpc/transaction/recent \
--header 'api-key: <api-key>'
{
"data": [
{
"blockhash": "<string>",
"blockheight": 123,
"blocktime": 123,
"confirmations": 123,
"hash": "<string>",
"hex": "<string>",
"input_addresses": [
"<string>"
],
"locktime": 123,
"output_addresses": [
"<string>"
],
"size": 123,
"time": 123,
"total_fees": 123,
"total_input_volume": 123,
"total_output_volume": 123,
"txid": "<string>",
"version": 123,
"vin": [
{
"address": "<string>",
"coinbase": "<string>",
"scriptSig": {
"asm": "<string>",
"hex": "<string>"
},
"script_type": "<string>",
"sequence": 123,
"txid": "<string>",
"txinwitness": [
"<string>"
],
"value": 123,
"vout": 123
}
],
"vout": [
{
"address": "<string>",
"n": 123,
"scriptPubKey": {
"address": "<string>",
"asm": "<string>",
"desc": "<string>",
"hex": "<string>",
"type": "<string>"
},
"script_type": "<string>",
"value": 123
}
],
"vsize": 123,
"weight": 123
}
],
"last_updated": {
"block_hash": "<string>",
"block_height": 123
}
}
Returns a list of recent on-chain transactions. Useful for retrieving lastest transactions or monitoring new, on-chain activity by block height.
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/rpc/transaction/recent \
--header 'api-key: <api-key>'
{
"data": [
{
"blockhash": "<string>",
"blockheight": 123,
"blocktime": 123,
"confirmations": 123,
"hash": "<string>",
"hex": "<string>",
"input_addresses": [
"<string>"
],
"locktime": 123,
"output_addresses": [
"<string>"
],
"size": 123,
"time": 123,
"total_fees": 123,
"total_input_volume": 123,
"total_output_volume": 123,
"txid": "<string>",
"version": 123,
"vin": [
{
"address": "<string>",
"coinbase": "<string>",
"scriptSig": {
"asm": "<string>",
"hex": "<string>"
},
"script_type": "<string>",
"sequence": 123,
"txid": "<string>",
"txinwitness": [
"<string>"
],
"value": 123,
"vout": 123
}
],
"vout": [
{
"address": "<string>",
"n": 123,
"scriptPubKey": {
"address": "<string>",
"asm": "<string>",
"desc": "<string>",
"hex": "<string>",
"type": "<string>"
},
"script_type": "<string>",
"value": 123
}
],
"vsize": 123,
"weight": 123
}
],
"last_updated": {
"block_hash": "<string>",
"block_height": 123
}
}
Project API Key
Page number.
Number of blocks.
Order of transactions.
Verbose.
OK
The response is of type object
.