curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/blocks/{height_or_hash}/transactions \
--header 'api-key: <api-key>'{
"data": [
{
"fees": "0",
"inputs": [],
"metaprotocols": [
"inscriptions"
],
"outputs": [
{
"address": "bc1p8k4v4xuz55dv49svzjg43qjxq2whur7ync9tm0xgl5t4wjl9ca9snxgmlt",
"inscriptions": 0,
"runes": 0,
"satoshis": "546",
"script_pubkey": "51203daaca9b82a51aca960c1491588246029d7e0fc49e0abdbcc8fd17574be5c74b",
"spending_tx": null,
"vout": 0
},
{
"address": "bc1qwzrryqr3ja8w7hnja2spmkgfdcgvqwp5swz4af4ngsjecfz0w0pqud7k38",
"inscriptions": 3519,
"runes": 0,
"satoshis": "314010406",
"script_pubkey": "00207086320071974eef5e72eaa01dd9096e10c0383483855ea6b344259c244f73c2",
"spending_tx": "1179ebbad0019e5743f25c86148f51b70bc705e76392ce1195205b7fb0d3f8d5",
"vout": 1
},
{
"address": null,
"inscriptions": 0,
"runes": 0,
"satoshis": "0",
"script_pubkey": "6a24aa21a9edf17f948f3b2f268b144bd8677617399ea639a55f0e849ba5e6f35af26cc39904",
"spending_tx": null,
"vout": 2
},
{
"address": null,
"inscriptions": 0,
"runes": 0,
"satoshis": "0",
"script_pubkey": "6a2d434f5245012e50087fb834747606ed01ad67ad0f32129ab431e6d18fda214e5b9f350ffc7b6cf3058b9026e765",
"spending_tx": null,
"vout": 3
}
],
"sats_per_vb": 0,
"total_inputs": 0,
"total_outputs": 4,
"tx_hash": "a306a1cb42f0e703219e0c2abb8cca08c85c8a3a55d4c0a119d62156a4cf435e",
"tx_index": 0,
"volume": "314010952"
},
{
"fees": "30300",
"inputs": [
{
"address": "bc1q5yw0e7hq42zwshvvq3sy2z07n7lg72elhdt8s577egxe2agm3xnq9nekyr",
"inscriptions": 0,
"runes": 0,
"satoshis": "94253892",
"script_pubkey": "0020a11cfcfae0aa84e85d8c04604509fe9fbe8f2b3fbb567853deca0d95751b89a6",
"txid": "65ff8bb5ab3feeeb1cdd47a200fc3d54ac70e4e4b1ca1c7e33f56207db7ddf86",
"vout": 1
}
],
"metaprotocols": [],
"outputs": [
{
"address": "bc1q0wu0tqp2u3rtunjl0h0rsl9pvf86acy6sep63st0lp7lgg67ykzqeq89pn",
"inscriptions": 0,
"runes": 0,
"satoshis": "9790000",
"script_pubkey": "00207bb8f5802ae446be4e5f7dde387ca1624faee09a8643a8c16ff87df4235e2584",
"spending_tx": "0c135cbd187ef5ed2ab266f02910cabfd6fa0993d1dbf6627a33363fba38181d",
"vout": 0
},
{
"address": "bc1qnq7td9m6xex4gqeu2d3t6j8tqkpwfxwt2dn2t07m6hnl9svcn54qu5hax4",
"inscriptions": 0,
"runes": 0,
"satoshis": "84433592",
"script_pubkey": "0020983cb6977a364d54033c5362bd48eb0582e499cb5366a5bfdbd5e7f2c1989d2a",
"spending_tx": "4075db2355cdcac155657c55a24a46e2fd083fc88dedd54bc900288a61a688e7",
"vout": 1
}
],
"sats_per_vb": 151,
"total_inputs": 1,
"total_outputs": 2,
"tx_hash": "04ac1f8968de3d1db8a6fc6504005e391ab8a85bb4a48b3d7f3e66e747d559ea",
"tx_index": 1,
"volume": "94223592"
}
],
"last_updated": {
"block_hash": "0000000000000000000122b2c240af790ee979f6e96175c00045cf54aa5a7001",
"block_height": 878055
},
"next_cursor": "AQE"
}Get all transactions included in a specific Bitcoin block by height or hash with detailed transaction data.
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/blocks/{height_or_hash}/transactions \
--header 'api-key: <api-key>'{
"data": [
{
"fees": "0",
"inputs": [],
"metaprotocols": [
"inscriptions"
],
"outputs": [
{
"address": "bc1p8k4v4xuz55dv49svzjg43qjxq2whur7ync9tm0xgl5t4wjl9ca9snxgmlt",
"inscriptions": 0,
"runes": 0,
"satoshis": "546",
"script_pubkey": "51203daaca9b82a51aca960c1491588246029d7e0fc49e0abdbcc8fd17574be5c74b",
"spending_tx": null,
"vout": 0
},
{
"address": "bc1qwzrryqr3ja8w7hnja2spmkgfdcgvqwp5swz4af4ngsjecfz0w0pqud7k38",
"inscriptions": 3519,
"runes": 0,
"satoshis": "314010406",
"script_pubkey": "00207086320071974eef5e72eaa01dd9096e10c0383483855ea6b344259c244f73c2",
"spending_tx": "1179ebbad0019e5743f25c86148f51b70bc705e76392ce1195205b7fb0d3f8d5",
"vout": 1
},
{
"address": null,
"inscriptions": 0,
"runes": 0,
"satoshis": "0",
"script_pubkey": "6a24aa21a9edf17f948f3b2f268b144bd8677617399ea639a55f0e849ba5e6f35af26cc39904",
"spending_tx": null,
"vout": 2
},
{
"address": null,
"inscriptions": 0,
"runes": 0,
"satoshis": "0",
"script_pubkey": "6a2d434f5245012e50087fb834747606ed01ad67ad0f32129ab431e6d18fda214e5b9f350ffc7b6cf3058b9026e765",
"spending_tx": null,
"vout": 3
}
],
"sats_per_vb": 0,
"total_inputs": 0,
"total_outputs": 4,
"tx_hash": "a306a1cb42f0e703219e0c2abb8cca08c85c8a3a55d4c0a119d62156a4cf435e",
"tx_index": 0,
"volume": "314010952"
},
{
"fees": "30300",
"inputs": [
{
"address": "bc1q5yw0e7hq42zwshvvq3sy2z07n7lg72elhdt8s577egxe2agm3xnq9nekyr",
"inscriptions": 0,
"runes": 0,
"satoshis": "94253892",
"script_pubkey": "0020a11cfcfae0aa84e85d8c04604509fe9fbe8f2b3fbb567853deca0d95751b89a6",
"txid": "65ff8bb5ab3feeeb1cdd47a200fc3d54ac70e4e4b1ca1c7e33f56207db7ddf86",
"vout": 1
}
],
"metaprotocols": [],
"outputs": [
{
"address": "bc1q0wu0tqp2u3rtunjl0h0rsl9pvf86acy6sep63st0lp7lgg67ykzqeq89pn",
"inscriptions": 0,
"runes": 0,
"satoshis": "9790000",
"script_pubkey": "00207bb8f5802ae446be4e5f7dde387ca1624faee09a8643a8c16ff87df4235e2584",
"spending_tx": "0c135cbd187ef5ed2ab266f02910cabfd6fa0993d1dbf6627a33363fba38181d",
"vout": 0
},
{
"address": "bc1qnq7td9m6xex4gqeu2d3t6j8tqkpwfxwt2dn2t07m6hnl9svcn54qu5hax4",
"inscriptions": 0,
"runes": 0,
"satoshis": "84433592",
"script_pubkey": "0020983cb6977a364d54033c5362bd48eb0582e499cb5366a5bfdbd5e7f2c1989d2a",
"spending_tx": "4075db2355cdcac155657c55a24a46e2fd083fc88dedd54bc900288a61a688e7",
"vout": 1
}
],
"sats_per_vb": 151,
"total_inputs": 1,
"total_outputs": 2,
"tx_hash": "04ac1f8968de3d1db8a6fc6504005e391ab8a85bb4a48b3d7f3e66e747d559ea",
"tx_index": 1,
"volume": "94223592"
}
],
"last_updated": {
"block_hash": "0000000000000000000122b2c240af790ee979f6e96175c00045cf54aa5a7001",
"block_height": 878055
},
"next_cursor": "AQE"
}Project API Key
Block height or block hash
The max number of transactions per page
x >= 0Pagination cursor string, use the cursor included in a page of results to fetch the next page
Requested data
Show child attributes
Fees paid to the miner.
"2504"
Summary of the inputs of the transaction. Maximum 10 returned inputs.
Show child attributes
Number of inscriptions in the UTxO.
x >= 01234567
Number of rune kinds in the UTxO.
x >= 01234567
Total number of satoshis in the UTxO.
"1234567"
Script pubkey at which the input resides.
"5120a72a43b1b79d75d69ae9652184b2b83ec84b3b43a7082ff59baaad5722597596"
Transaction hash of the UTxO.
"2ca28d42583fc5bace84fe024d3697969e06dd1cf769a2141286825b81773fd5"
Output index of the UTxO.
x >= 00
Address-encoding of the script pubkey at which the input resides.
"bc1p5u4y8vdhn46adxhfv5scfv4c8myykw6r5uyzlavm42k4wgjewktq7xqcyr"
List of supported metaprotocols involved in one or more transactions within the block.
"[\"inscriptions\", \"runes\"]"
Summary of the outputs of the transaction. Maximum 10 returned outputs.
Show child attributes
Number of inscriptions in the UTxO.
x >= 01234567
Number of rune kinds in the UTxO.
x >= 01234567
Total number of satoshis in the UTxO.
"1234567"
Script pubkey at which the input resides.
"5120a72a43b1b79d75d69ae9652184b2b83ec84b3b43a7082ff59baaad5722597596"
Output index of the UTxO.
x >= 00
Address-encoding of the script pubkey at which the input resides.
"bc1p5u4y8vdhn46adxhfv5scfv4c8myykw6r5uyzlavm42k4wgjewktq7xqcyr"
If this output is known to have been spent, hash of the transaction that spent it.
"2ca28d42583fc5bace84fe024d3697969e06dd1cf769a2141286825b81773fd5"
sats per vB of the transaction.
x >= 015
Total number of inputs. No inputs means this is the coinbase transaction.
x >= 05
Total number of outputs.
x >= 02
Transaction hash.
"2ca28d42583fc5bace84fe024d3697969e06dd1cf769a2141286825b81773fd5"
Transaction index in block.
x >= 00
Total number of satoshis that went through this transaction, minus fees.
"12345678"
Was this page helpful?