To make working with the API and RPC easier, here are some examples of their usage.
curl -X GET "https://api.polkadot.validexis.com/block/last" -H "Accept: application/json"
{
"block_number": 1234567,
"hash": "0xabcdef1234567890...",
"timestamp": "2025-03-01T16:00:00Z"
}
curl -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "system_chain",
"params": [],
"id": 1
}' https://rpc.polkadot.validexis.com
{
"jsonrpc": "2.0",
"result": "Polkadot",
"id": 1
}