Home

Filecoin.ChainStatObj

POST
https://fil.nownodes.io/rpc/v1

Authorizations

ApiKeyAuthApiKeyAuth

api-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
jsonrpcstringrequired

JSON-RPC protocol version. Must always be "2.0".

methodstringrequired

The name of the JSON-RPC method to invoke.

paramsArray<object>required

Ordered list of parameters: the target CID and a base CID for computing the diff.

Show child attributes
/string

CID string.

idintegerrequired

An identifier for this JSON-RPC request.

Response

200OK

Successful response containing DAG statistics.