Skip to main content

cfx_getCollateralInfo

Return information about total token supply.

Params

(1)

1. epoch_number (required)

(one of)
string or null
Match pattern:
^0x([1-9a-f][0-9a-f]{0,15}|0)$

Result

(cfx_getCollateralInfo_result)
convertedStoragePoints
string
Match pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
totalStorageTokens
string
Match pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
usedStoragePoints
string
Match pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$

Endpoint

Params

epoch_number


Request

curl -X POST --data \
'{
"method": "cfx_getCollateralInfo",
"params": [
null
],
"jsonrpc": "2.0",
"id": 1
}' \
-H "Content-Type: application/json" \
https://test.confluxrpc.com