Skip to main content

Transaction or list of transactions/blocks

GET 

/transaction

Returns a transaction by hash or a list of transactions/blocks depending on the parameters sent. If "id" is sent as parameter, we return only one transaction, else we return a list. In the list return we have a key "has_more" that indicatesif there are more transactions/blocks to be fetched

Request

Query Parameters

    id string

    Hash in hex of the transaction/block

    type string

    Type of list to return (block or tx)

    count int

    Quantity of elements to return

    page string

    If the user clicked "previous" or "next" button

    hash string

    Hash reference for the pagination

Responses

Success

Schema

    any

Loading...