Home

Filecoin.ChainGetPath

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Computes the path of tipset changes (revert and apply operations) required to traverse from one tipset to another. This is useful for determining what state transitions need to be undone and re-applied when the chain head changes, particularly during chain reorganizations.

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 containing two tipset keys. The first is the source tipset and the second is the destination tipset.

idintegerrequired

An identifier for this JSON-RPC request.

Response

200OK

Successful response containing the path of head changes between the two tipsets.