Skip to main content

getSlot

Returns the latest slot.

Parameters

This method takes no parameters

Result

<u64> - Current slot

Code sample

curl "https://testnet.atlas.xyz" -X POST -H "Content-Type: application/json" -d '
{
"jsonrpc": "2.0",
"id": "0bdba4c1-3073-41b0-b849-46f14e004e38",
"method": "getSlot"
}
'

Response

{
"jsonrpc": "2.0",
"id": "0bdba4c1-3073-41b0-b849-46f14e004e38",
"result": 11110878
}