Filecoin.ChainStatObj
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Computes statistics (total size in bytes and number of IPLD links) for the DAG (Directed Acyclic Graph) rooted at the first CID parameter. If a second CID is provided, it returns the stats for the difference between the two DAGs (i.e., objects reachable from the first CID but not from the second).
Body
application/json
jsonrpcstringrequiredJSON-RPC protocol version. Must always be "2.0".
methodstringrequiredThe name of the JSON-RPC method to invoke.
paramsArray<object>requiredOrdered list of parameters: the target CID and a base CID for computing the diff.
idintegerrequiredAn identifier for this JSON-RPC request.
Response
200OK
Successful response containing DAG statistics.