FuelWallet class

Constructors

FuelWallet({required String bech32Address, required dynamic b256Address, required String? mnemonicPhrase, required String privateKey, required String networkUrl})

Properties

b256Address String
final
bech32Address String
final
hashCode int
The hash code for this object.
no setterinherited
mnemonicPhrase String?
final
networkUrl String
final
privateKey String
final
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
sendTransaction({required dynamic transactionRequest}) Future<String>
signMessage({required String message}) Future<String>
simulateTransaction({required dynamic transactionRequest}) Future<CallResult>
toString() String
A string representation of this object.
inherited
transfer({required String destinationB256Address, required int fractionalAmount, required String assetId, required int gasPrice, required int gasLimit, required int maturity}) Future<String>

Operators

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

Static Methods

addHexPrefix(String address) String
generateNewWallet({required String networkUrl}) Future<FuelWallet>
newFromMnemonicPhrase({required String networkUrl, required String mnemonic}) Future<FuelWallet>
newFromPrivateKey({required String networkUrl, required String privateKey}) Future<FuelWallet>