Reading state
StateReadState
Method: POST
https://fil.nownodes.io/rpc/v1
Example body (raw)
{
"jsonrpc": "2.0",
"method": "Filecoin.StateReadState",
"id": 1,
"params": [
"t01001",
null
]
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"Balance": "10000000000000123",
"Code": {
"/": "bafk2bzacebf4rrqyk7gcfggggul6nfpzay7f2ordnkwm7z2wcf4mq6r7i77t2"
},
"State": {
"Info": {
"/": "bafy2bzacebo4a2v52rs3zdgx723qrchvpafuhguegnwkaxbblcmzrwb3qfuws"
},
"PreCommitDeposits": "0",
"LockedFunds": "0",
"VestingFunds": {
"/": "bafy2bzacealbq6s7ptdud6gvpc2yv54opwotncjlqjxmzb2q2rnjxv753rwdc"
},
"FeeDebt": "219803436956476222509077",
"InitialPledge": "0",
"PreCommittedSectors": {
"/": "bafy2bzaceamp42wmmgr2g2ymg46euououzfyck7szknvfacqscohrvaikwfay"
},
"PreCommittedSectorsCleanUp": {
"/": "bafy2bzaceaa2jny7gkgdwnid4kuldau6bnvgyss5bszo4uy6uikrncvdu5mc2"
},
"AllocatedSectors": {
"/": "bafy2bzacedyfzqf2yosdjbi6jb4kxx2rv2mox4eb3iy5qq6hgvsbukhvflrns"
},
"Sectors": {
"/": "bafy2bzacec7gz5rksk7u5j2auztccb6edxuyglraux3fflycvn5fr5e5kykug"
},
"ProvingPeriodStart": 711514,
"CurrentDeadline": 14,
"Deadlines": {
"/": "bafy2bzacea4a3jbsfvd5vqudnetj7dey6ekjyc4fhouwgneuzt7r3d5jnuu4o"
},
"EarlyTerminations": [
0
],
"DeadlineCronActive": false
}
},
"id": 1
}
MsigGetAvailableBalance
Method: POST
https://fil.nownodes.io/rpc/v1
Example body (raw)
{
"jsonrpc": "2.0",
"method": "Filecoin.MsigGetAvailableBalance",
"id": 1,
"params": [
"t01001",
null
]
}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": 1,
"message": "failed to load multisig actor state: actor code is not multisig: storageminer"
}
}
StateLookupID
Method: POST
https://fil.nownodes.io/rpc/v1
Example body (raw)
{
"jsonrpc": "2.0",
"method": "Filecoin.StateLookupID",
"id": 1,
"params": [
"t3qb4nuirazv743dshr7cghxong362o6squzdau55ftwwm2crbxwakmlerv7wcnzof5t6khfevnkstdvn5puga",
null
]
}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": 3,
"message": "actor not found"
}
}
StateAccountKey
Method: POST
https://fil.nownodes.io/rpc/v1
Example body (raw)
{
"jsonrpc": "2.0",
"method": "Filecoin.StateAccountKey",
"id": 1,
"params": [
"t3qb4nuirazv743dshr7cghxong362o6squzdau55ftwwm2crbxwakmlerv7wcnzof5t6khfevnkstdvn5puga",
null
]
}
Example response: 200
{
"jsonrpc": "2.0",
"result": "f3qb4nuirazv743dshr7cghxong362o6squzdau55ftwwm2crbxwakmlerv7wcnzof5t6khfevnkstdvn5puga",
"id": 1
}
Last updated