Home
POST
https://casper.nownodes.io/rpc

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Sends a JSON-RPC request to query the balance of a specific purse under an account identified either by StateRootHash or BlockHash.

Body

application/json
idintegerrequired

The request identifier

jsonrpcstringrequired

JSON-RPC version

methodstringrequired

The JSON-RPC method name

paramsobjectrequired
Show child attributes
state_identifierany | anyrequired

The state root or block hash used to query the state

purse_identifierobjectrequired

Identifier for the purse whose balance is being queried

Show child attributes
main_purse_under_account_hashstring

The account hash of the main purse under the account

Response

200OK

Successful response with the balance