Creates a faucet API helper from an Aftermath provider.
Provider that supplies faucet addresses, event queries, and coin helpers.
ReadonlyaddressesPackage and shared-object addresses used by faucet transactions.
ReadonlyeventMove event type strings used by the faucet event queries.
Builds a transaction that mints and transfers one faucet coin.
The returned transaction sets walletAddress as sender and recipient.
Coin type to mint and wallet that receives it.
A new transaction containing the mint and transfer commands.
Fetches faucet coin-registration events with cursor pagination.
Optional event cursor and page limit.
The cast registration events and the next pagination cursor.
Fetches a SUI payment coin and builds a SuiFren mint transaction.
The payment amount is taken from mintFee, and the returned transaction
sets walletAddress as its sender.
Mint fee, SuiFren type, and wallet that signs the transaction.
A promise for the transaction that pays the fee and mints the SuiFren.
Fetches faucet coin-mint events with cursor pagination.
Optional event cursor and page limit.
The cast mint events and the next pagination cursor.
Fetches the coin types registered with the faucet.
The method reads AddedCoin events and returns each coin type with its
0x prefix.
The registered faucet coin types.
Adds a mint_and_keep Move call for a SuiFren.
The payment coin may be an object ID or an argument from the supplied
transaction. The method mutates inputs.tx and leaves the minted result in
the transaction for the caller to compose.
SuiFren object type to mint.
SUI payment coin object ID or transaction argument.
Transaction to mutate.
The result of the added Move call.
Mints coinType's configured default amount and returns the resulting
Coin<T>. Use buildRequestCoinTx to mint and transfer it to a
wallet in one transaction.
Coin type to mint.
Transaction to mutate.
The transaction result containing the minted coin.
Provides faucet transaction builders and event queries for
AftermathApi.The transaction methods use the configured faucet and SuiFrens addresses, while the event methods query and cast the corresponding on-chain events.