Skip to main content

Block transactions

GET /blocks/:hash_or_number/txs

Return the transactions within the block.

Request

Path Parameters

    hash_or_number 64-character case-sensitive hexadecimal string or block number. required

    Hash of the requested block.

    Example: 4873401

Query Parameters

    count integer

    Possible values: >= 1 and <= 100

    Default value: 100

    The number of results displayed on one page.

    page integer

    Possible values: >= 1 and <= 21474836

    Default value: 1

    The page number for listing the results.

    order string

    Possible values: [asc, desc]

    Default value: asc

    Ordered by tx index in the block. The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last.

Responses

Return the contents of the block


Schema
  • Array [
  • string

    Hash of the transaction

  • ]
Loading...