post https://api.infstones.com/starknet/mainnet/
Get the most recent accepted block number
Parameters
None
Result
An integer that represents the current block number the client is on.
Example
Request
curl <your-endpoint> \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "starknet_blockNumber",
"params": [],
"id": 0
}'
Return
{
"id": 0,
"jsonrpc": "2.0",
"result": 49977
}