cfx_getStorageAt
Returns storage entries from a given contract.
- CURL
curl --request POST \
--url https://main.confluxrpc.com \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"params": [null,null,null],
"method": "cfx_getStorageAt"
}'
Params
addr required
Schema
type : string
Pattern :
^(NET\d+|CFX|CFXTEST)(:TYPE\..*|):[ABCDEFGHJKMNPRSTUVWXYZ0123456789]{42}$
pos required
Schema
type : string
Pattern :
^0x([1-9a-f][0-9a-f]{0,63}|0)$
block_hash_or_epoch_number optional
Schema
type : any
Always valid
Result
Schema
type : string
Pattern :
^0x[0-9,a-f,A-F]{64}$