Home

Filecoin.ChainTipSetWeight

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Computes and returns the chain weight of the specified tipset. Weight is a measure of the total amount of work contributed to the chain up to and including this tipset. It is used by the expected consensus protocol to determine the heaviest (canonical) chain.

Body

application/json
jsonrpcstringrequired

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

methodstringrequired

The name of the JSON-RPC method to invoke.

paramsArray<Array<object>>required

Ordered list of parameters. Contains a single tipset key.

idintegerrequired

An identifier for this JSON-RPC request.

Response

200OK

Successful response containing the tipset weight.