Home

Filecoin.StateCall

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

Authorizations

ApiKeyAuthApiKeyAuth

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

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 | array>required

Ordered list containing the message to simulate and an optional tipset key for state context.

Show child attributes
One of
Versioninteger

Message format version (always 0).

Tostring

Target actor address.

Fromstring

Sender address (must exist on-chain).

Nonceinteger

Message nonce (can be any value for simulation).

Valuestring

Transfer amount in attoFIL.

GasLimitinteger

Maximum gas for execution.

GasFeeCapstring

Max fee per gas (can be "0" for simulation).

GasPremiumstring

Priority fee per gas (can be "0" for simulation).

Methodinteger

Actor method number to invoke.

Paramsstring | null

CBOR-encoded method parameters (Base64).

TipSet key for state context. Null uses chain head.

array | null
idintegerrequired

An identifier for this JSON-RPC request.

Response

200OK

Successful response with detailed execution results.