In Filecoin API Documentation you have something like the following:
{
“id”: 0,
“jsonrpc”: “2.0”,
“method”: “Filecoin.StateReadState”,
“params”: [
“string”,
“string”
]
}
There is no brief explanation of the endpoint, but more importantly, there is no description of what goes in these params. It cannot be any string obviously. It may be a CID but why must there be 2? This is not clear at all for new comers. Any added context on params would be greatly appreciated!