Azxa
← Polkadot overview

Polkadot · substrate

chain_getBlock

Substrate RPC: chain_getBlock

Substrate / Polkadot-family JSON-RPC. Reference: Polkadot wiki RPC

Result

See node response

Schema
{
  "type": "unknown"
}

Example request

Endpoint: https://your-dot-node.azxa.io

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "chain_getBlock",
  "params": []
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": null
}

cURL

curl -X POST https://your-dot-node.azxa.io \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"chain_getBlock","params":[]}'
1

Select Chain

2

Desired Period

3

Contact Information

cross

Select Preferred Chain

BNB Smart Chain
Polygon
Tron
Arbitrum
Optimism
IoTeX
Gnosis
Fantom
Moonbeam
Polkadot
Avalanche
Bitcoin
Ethereum
Aptos
Other
cube

Other Chain

Continue
logo
cross
background