Get the latest block. Useful for checking synchronization process and pagination

post/block/latest

Request body

offsetnumber double required

Note: an offset of -1 is treated the same as an offset of +1

It's usually best to avoid pagination on the latest block.

In Cardano, small rollbacks of 1~2 block are very frequent and expected (read Ouroboros for why) That means that using this block for pagination will often lead to your pagination being invalidated by a rollback To avoid this, you can pass an offset from the tip for more stable pagination

Response

Changes