Get Block
GET {{baseUrl}}/block?from=<>&to=<>
By default, this call returns the last confirmed block, since the from
and to
parameters will both default to the last confirmed slot number.
To get a range of blocks, use the from
and to
parameters. Specifying
only the from
parameter will get a range of blocks up to the current slot.
Note that this also means that specifying to
without from
will result
in an error since that will mean a negative range.
For each returned item, the data will contain header information from the bloc
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | Specify the starting slot to return | |
to | string | Specify the last slot to return |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
MCWSSAML | string | SAML Authorization |