Gva class
Constructors
Gva ({required String node , bool debug = false })
Main constructor for GVA query object
factory
Properties
debug
→ bool
final
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
balance (String pubkey , {bool ud = false })
→ Future <double >
Return the balance from a given pubkey, or 0 if null.
complexPay ({required List <String > recipients , required List <double > amounts , required double totalAmount , String ? dewif , String ? password , String ? mnemonic , String ? cesiumId , String ? cesiumPwd , Uint8List ? cesiumSeed , int ? derivation , String lang = 'english' , bool ud = false , bool useMempool = false , bool raiseException = false })
→ Future <String >
fetchUtxosOfScript ({required String script , int pageSize = 100 , String ? cursor , int ? amount })
→ Future <Map <String , dynamic > >
getCurrentBlock ()
→ Future <int >
Return the current block of the node.
getCurrentBlockExtended ()
→ Future <Map <String , dynamic > >
getCurrentUd ()
→ Future <double >
Return the username from a given pubkey.
getFirstUtxos (List <String > scriptsList , [int first = 10 ])
→ Future <List >
getUsername (String pubkey )
→ Future <String >
Return the username from a given pubkey.
history (String pubkey , [int ? pageSize , String ? cursor ])
→ Future <Map <String , dynamic > ? >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pay ({required String recipient , required double amount , String ? dewif , String ? password , String ? mnemonic , String ? cesiumId , String ? cesiumPwd , Uint8List ? cesiumSeed , String lang = 'english' , int ? derivation , bool ud = false , bool useMempool = false , bool raiseException = false })
→ Future <String >
Pay a given pubkey.
This automatically recognizes whether it is an HD wallet or a Cesium wallet.
Return 'success' string if the transaction has been successfuly proced, or the specified error
printIfDebug (String message )
→ void
toString ()
→ String
A string representation of this object.
inherited