Filecoin.StateCall
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Performs a dry-run execution of a message against the specified chain state without persisting any changes. This is useful for gas estimation, testing contract calls, debugging failed transactions, and validating message parameters before actual submission.
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.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must always be "2.0".
methodstringrequiredThe name of the JSON-RPC method to invoke.
paramsArray<object | array>requiredOrdered list containing the message to simulate and an optional tipset key for state context.
idintegerrequiredAn identifier for this JSON-RPC request.
Response
Successful response with detailed execution results.