Home

Filecoin.StateLookupID

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Resolves any Filecoin address to its corresponding on-chain ID address (f0 format). ID addresses are compact numeric identifiers assigned to actors when they are created on-chain. This method is useful for normalizing addresses, optimizing message size, and looking up actor state. Returns an error if the address does not exist on-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<string | array>required

Ordered list containing the address to resolve and an optional tipset key for state context.

Show child attributes
One of

The Filecoin address to resolve. Supports f1, f2, f3, and f4 formats. f0 addresses are returned as-is.

string

TipSet key for state context. Use null for current head.

array | null
idintegerrequired

An identifier for this JSON-RPC request.

Response

200OK

Successful response containing the ID address.