platform.getCurrentSupply RPC Method
To use the platform.getCurrentSupply method on the P-Chain, ensure that the end of your URL includes ext/bc/P.
Parameters
This method does not accept any parameters
Returns
result
object
Loading...
supply
string
Loading...
Request
1curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "platform.getCurrentSupply",6"params": {},7"id": 18}'
1curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "platform.getCurrentSupply",6"params": {},7"id": 18}'
Response
1{2"jsonrpc": "2.0",3"result": {4"supply": "200000000000000",5"height": "1773310"6},7"id": 18}
1{2"jsonrpc": "2.0",3"result": {4"supply": "200000000000000",5"height": "1773310"6},7"id": 18}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free