Return asset precision.
returns a representation of this asset using only STEEM SBD for legacy purposes
For JSON serialization, same as toString().
Return this asset in the NAI format used by block_api. The legacy
STEEM/SBD and testnet TESTS/TBD symbols map to the HIVE and HBD NAIs.
Return a string representation of this asset, e.g. 42.000 HIVE.
StaticfromConvenience to create new Asset.
Optionalsymbol: AssetSymbol
Symbol to use when created from number. Will also be used to validate the asset, throws if the passed value has a different symbol than this.
StaticfromStaticfromCreate a new Asset instance from a string, e.g. 42.000 HIVE.
OptionalexpectedSymbol: AssetSymbolStaticmaxStaticmin
Class representing a hive asset, e.g.
1.000 HIVEor12.112233 VESTS.