fromCanonicalForm

fun fromCanonicalForm(canonicalForm: String): Asset

Creates an Asset instance from a canonical string representation.

Return

Asset instance

Parameters

canonicalForm

Either "native" or "CODE:ISSUER"

Throws

if the canonical form is invalid