BitcoinCash class

Bitcoin Cash specific utilities

Constructors

BitcoinCash()

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Static Methods

decodeBIP21(String uri) → Map<String, dynamic>
Converts bip-21 uri into a bch address and its options [...]
encodeBIP21(String address, Map<String, dynamic> options) → String
Converts a bch address and its options into bip-21 uri [...]
fromSatoshi(int satoshi) → double
Converts satoshi units to Bitcoin Cash units
getByteCount(int inputs int outputs) → int
Calculates and returns byte count of a transaction
toSatoshi(double bchAmount) → int
Converts Bitcoin Cash units to satoshi units