Filecoin.ChainGetPath
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Changed. A null element inside the tipset key array is now rejected with an error; before, it was silently dropped. To use the current head, pass an empty array [] or null for the whole key.
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
jsonrpcstringrequiredJSON-RPC protocol version. Must always be "2.0".
methodstringrequiredThe name of the JSON-RPC method to invoke.
paramsArray<Array<object>>requiredOrdered list of parameters containing two tipset keys. The first is the source tipset and the second is the destination tipset.
idintegerrequiredAn identifier for this JSON-RPC request.
Response
Successful response containing the path of head changes between the two tipsets.