Home

Filecoin.WalletBalance

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the current FIL balance for any Filecoin address. The balance is returned in attoFIL (the smallest unit, where 1 FIL = 10^18 attoFIL). Supports all address types including f0 (ID), f1 (SECP256K1), f2 (Actor), f3 (BLS), and f4 (Delegated/Ethereum-compatible).

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

Ordered list of parameters. Contains a single address string.

idintegerrequired

An identifier for this JSON-RPC request.

Response

200OK

Successful response containing the account balance.