OptionalamountOptionalfaucetA custom host for a faucet server. On devnet, testnet, AMM devnet, and HooksV3 testnet, fundWallet will
attempt to determine the correct server automatically. In other environments, or if you would like to customize
the faucet host in devnet or testnet, you should provide the host using this option.
OptionalfaucetA custom path for a faucet server. On devnet,
testnet, AMM devnet, and HooksV3 testnet, fundWallet will
attempt to determine the correct path automatically. In other environments,
or if you would like to customize the faucet path in devnet or testnet,
you should provide the path using this option.
Ex: client.fundWallet(null,{'faucet.altnet.rippletest.net', '/accounts'})
specifies a request to 'faucet.altnet.rippletest.net/accounts' to fund a new wallet.
OptionalfaucetThe protocol to use for the faucet server. Defaults to 'https'. Use 'http' to interact with a local faucet server running on http://
OptionalusageAn optional field to indicate the use case context of the faucet transaction Ex: integration test, code snippets.
A custom amount to fund, if undefined or null, the default amount will be 1000.