GET
/
block
/
recent
/
{count}
Recent Block Info Count
curl --request GET \
  --url https://arch-mainnet.gomaestro-api.org/v0/rpc/block/recent/{count} \
  --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": [
        "<string>"
      ]
    }
  ],
  "last_updated": {
    "block_hash": "<string>",
    "block_height": 123
  }
}

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

count
integer
required

Number of recent blocks.

Required range: 1 <= x <= 100

Query Parameters

order
string
default:asc

Order of blocks.

Response

200
application/json

OK

The response is of type object.