GET
/
blocks
/
{height_or_hash}
/
transactions
Transactions by Block
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"
}

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

height_or_hash
string
required

Block height or block hash

Query Parameters

count
integer
default:100

The max number of transactions per page

Required range: x >= 0
cursor
string | null

Pagination cursor string, use the cursor included in a page of results to fetch the next page

Response

200
application/json

Requested data

The response is of type object.