Inds getLastBlockNumberIndexed

Example Request

{
  "method": "inds_getLastBlockNumberIndexed", // jsonrpc method name
  "id": 1, // request id
  "jsonrpc": "2.0", // jsonrpc version
  "params": [
    ["avalanche"] // chain name array
  ]
}

Example Response

{
    "jsonrpc": "2.0",
    "result": [{
            "chain": "avalanche",
            "block_number": "40433785",
            "block_time": "2024-01-16 10:18:46 +0000 UTC",
            "timestamp": 1705400326
        }
    ],
    "id": 1
}

Curl Example

curl --location 'https://api.indexs.io/v2/rpc/inds_getLastBlockNumberIndexed' \
--header 'Content-Type: application/json' \
--data '{
  "method": "inds_getLastBlockNumberIndexed",
  "id": 1,
  "jsonrpc": "2.0",
  "params": [
    [
      "avalanche"
    ]
  ]
}'

Last updated