Skip to main content

Function: topUp()

function topUp(__namedParameters): Promise<void>

Parameters

ParameterType

__namedParameters

object

__namedParameters.address

0x${string}

__namedParameters.amount?

number

__namedParameters.faucetEndpoint

string

__namedParameters.rpcEndpoint

string

__namedParameters.token?

string

Returns

Promise<void>

Defined

@nilfoundation/niljs/src/utils/faucet.ts:6