Skip to main content

GetCurrencies

Accounts

Implements eth_getCurrencies.

Params

(2)

1. address (required)

string

The address of the account or contract.

2. blockNumberOrHash (required)

The number/hash of the block.

Result

(balance)
integer

The balance of the account.

API credentials

Username

Token

Params

address

blockNumberOrHash


Request

curl -X POST https://api.devnet.nil.foundation/api/undefined/undefined \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getCurrencies",
"params": [
null,
null
],
"id": 1
}'