Transaction Blocks

getTransactionBlocks

Changed on

Get a list of all transaction blocks. On Sui, transaction blocks are added in checkpoints and contain single transactions that execute atomic operations.

post/v1/transactions

Request

  • Base URL
    https://api.blockberry.one/sui
  • URL
    https://api.blockberry.one/sui/v1/transactions
  • Auth
    API key in header x-api-key

Query parameters

pageinteger required

Queried API page.

sizeinteger required

Number of queried entries.

orderBy'ASC' | 'DESC' required

Sorting method: from the lowest element to the highest (ASC) or from the highest element to the lowest (DESC).

sortBy'AGE' required

Select sorting parameter.

Response

OK

currentPageinteger
sizeinteger
totalItemsinteger
totalPagesinteger
totalCountinteger
totalElementsinteger
lastboolean
numberinteger
numberOfElementsinteger
firstboolean
emptyboolean

Changes

    • breaking

      removed the request body

    • breaking

      removed the enum value HEIGHT from the query request parameter sortBy

    • breaking

      removed the media type application/json for the response with the status

    • warning

      deleted the query request parameter blockHeight

    • warning

      deleted the query request parameter stateHash

    • info

      api operation id getTransactions removed and replaced with getTransactionBlocks

    • info

      api tag Transaction Blocks added

    • info

      api tag Transactions removed

    • info

      for the query request parameter size, the max was increased from 50.00 to 100.00

    • info

      added the media type */* for the response with the status