Skip to main content

Parameters

chainId
string
default:"sui"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"sui_getCheckpoints"
required
JSON-RPC method name.
params
object
required
Fetch a paginated list of checkpoints.Positional parameters for sui_getCheckpoints:
  • params[0]: An optional paging cursor (sequence number).
  • params[1]: Maximum number of items to return per page.
  • params[2]: Whether to return results in descending order.

Returns

result
object
The JSON-RPC result.
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=sui \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "sui_getCheckpoints",
    "params": [
      "1004",
      4,
      false
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {}
}