XRPHelper class
Properties
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
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
autoFill (XRPLRpc client , XRPTransaction transaction , {bool calculateFee = true , bool setupNetworkId = true , bool setupAccountSequence = true , bool setupLedgerSequence = true , int defaultLedgerOffset = 20 })
→ Future <void >
This asynchronous function automates various aspects of preparing an XRPL transaction.
It can calculate fees, set the network ID, account sequence, and last ledger sequence.
calculateFees (XRPLRpc client , XRPTransaction transaction )
→ Future <void >
This asynchronous function calculates transaction fees for an XRPL transaction.
datetimeToRippleTime (DateTime dateTime )
→ int
This function converts a DateTime object to Ripple time format.
fetchReserveFee (XRPLRpc client )
→ Future <int >
This asynchronous function fetches the reserve fee from an XRPL server.
getAccountSequence (XRPLRpc client , String address )
→ Future <int >
This asynchronous function retrieves the account sequence number for a given address
from an XRPL server.
getLedgerIndex (XRPLRpc client , {int defaultLedgerOffset = 20 })
→ Future <int >
This asynchronous function retrieves the ledger index from an XRPL server.
It provides an optional defaultLedgerOffset to adjust the index.
getXChainClaimId (Map <String , dynamic > ? meta )
→ String
Retrieves the XChainClaimID from the metadata of an XChainCreateClaimID transaction.
isCreatedNode (Map <String , dynamic > node )
→ bool
Checks if the provided node is a 'CreatedNode'.
toBlob (Map <String , dynamic > value )
→ String
Converts a Map of type <String, dynamic> to a hexadecimal blob for XRP transactions.
xrpDecimalToDrop (String decimal )
→ BigInt
Method to convert XRP decimal to drop