GET
/
block
/
{height_or_hash}
Block Info
curl --request GET \
  --url https://arch-mainnet.gomaestro-api.org/v0/rpc/block/{height_or_hash} \
  --header 'api-key: <api-key>'
{
  "data": {
    "bitcoin_block_height": 123,
    "hash": "<string>",
    "height": 123,
    "merkle_root": "<string>",
    "previous_block_hash": "<string>",
    "timestamp": 123,
    "transaction_count": 123,
    "transactions": [
      {
        "accounts_tags": [
          "<string>"
        ],
        "bitcoin_mined_time": 123,
        "bitcoin_txid": "<string>",
        "hash": "<string>",
        "runtime_transaction": {
          "message": {
            "instructions": [
              {
                "accounts": [
                  {
                    "is_signer": true,
                    "is_writable": true,
                    "pubkey": [
                      123
                    ]
                  }
                ],
                "data": [
                  123
                ],
                "program_id": [
                  123
                ]
              }
            ],
            "signers": [
              [
                123
              ]
            ]
          },
          "signatures": [
            [
              123
            ]
          ],
          "version": 123
        },
        "status": "<any>"
      }
    ]
  },
  "last_updated": {
    "block_hash": "<string>",
    "block_height": 123
  }
}

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

height_or_hash
string
required

Height or hash.

Query Parameters

page
integer
default:1

Page number for block transactions.

count
integer
default:100

Max number of block transactions per page.

verbose
boolean
default:false

Include transaction details.

hex
boolean
default:false

Hex encoded transactions.

Response

200
application/json

OK

The response is of type object.