FaucetClientInterface
interface FaucetClientInterface
Inheritors
| FaucetClient |
Functions
| Name | Summary |
|---|---|
| request | abstract suspend fun request(address: Address): String? Request gas from the faucet. Note that this will return the UUID of the request and not wait until the token is received. Use request_and_wait to wait for the token. |
| requestAndWait | abstract suspend fun requestAndWait(address: Address): FaucetReceipt? Request gas from the faucet and wait until the request is completed and token is transferred. Returns FaucetReceipt if the request is successful, which contains the list of tokens transferred, and the transaction digest. |
| requestAndWaitForFinalized | abstract suspend fun requestAndWaitForFinalized(address: Address, client: GraphQlClient): FaucetReceipt? Request gas from the faucet and wait until the request is completed and token is transferred and finalized on the ledger. Returns FaucetReceipt if the request is successful, which contains the list of tokens transferred, and the transaction digest. |
| requestStatus | abstract suspend fun requestStatus(id: String): BatchSendStatus? Check the faucet request status. |