Creates an Asset by a given string
Asset
This helper function expects a string with following naming convention: AAA.BBB-CCC where chain: AAA ticker (optional): BBB symbol: BBB-CCC or CCC (if no ticker available)
AAA.BBB-CCC
AAA
BBB
BBB-CCC
CCC
The given string.
The asset from the given string.
https://docs.thorchain.org/developers/transaction-memos#asset-notation
If the naming convention fails, it returns null
Generated using TypeDoc
Creates an
Asset
by a given stringThis helper function expects a string with following naming convention:
AAA.BBB-CCC
where chain:AAA
ticker (optional):BBB
symbol:BBB-CCC
orCCC
(if no ticker available)