FaucetClient class

Constructors

FaucetClient(String endpoint)

Properties

endpoint → String
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestSuiFromFaucetV2(String recipient) → Future<FaucetResponse>
Requests SUI from the faucet via the /v2/gas route.
requestSuiFromFaucetV3(String recipient, {Dio? dio, CancelToken? cancelToken, Duration timeout = const Duration(minutes: 3), Map<String, String> headers = const {}}) → Future<FaucetV3Response>
Requests SUI into the recipient's address balance using a PoW faucet.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited