Skip to main content

TopUpViaFaucet

Transactions

Tops up the balance of the contractAddressTo using the faucet contract.

Params

(3)

1. contractAddressFrom (required)

string

The address of the account or contract.

2. contractAddressTo (required)

string

The address of the account or contract.

3. amount (required)

integer

The amount of tokens.

Result

(hash)
string

The hash of the message.

API credentials

Username

Token

Params

contractAddressFrom

contractAddressTo

amount


Request

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