Faucet

class Faucet(config: AptosConfig) : Faucet

Faucet API namespace. This class provides functionality to create and fund accounts.

Constructors

Link copied to clipboard
constructor(config: AptosConfig)

Functions

Link copied to clipboard
open suspend override fun fundAccount(accountAddress: AccountAddressInput, amount: Long, options: WaitForTransactionOptions): Option<TransactionResponse>

This creates an account if it does not exist and mints the specified amount of coins into that account