Get blocks by height

This endpoint allows you to get the transactions in a block
and the corresponding block information.

Transactions are limited by max default transactions size. If not all transactions
are present, the user will need to query for the rest of the transactions via the
get transactions API.

If the block is pruned, it will return a 410

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uint64
required

Block height to lookup. Starts at 0

Query Params
boolean

If set to true, include all transactions in the block

If not provided, no transactions will be retrieved

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/x-bcs