JSON-RPC 方法

Polkadot RPC

您可以在此处查看 官方 Polkadot RPC 文档

示例 RPC

curl https://api.chainup.net/polkadot/mainnet/<YOUR_API_KEY> \
-X POST \
-H 'content-type: application/json' \
-H "CONSISTENT-HASH: true" \
--data '{"jsonrpc":"2.0","method":"chain_getBlock","params":[],"id":32}'

Last updated