AssetClass

Child class of HeliosData.

Constructor

Intelligently converts arguments. The format for single argument string is <hex-encoded-mph>.<hex-encoded-token-name>.

new helios.AssetClass(
    ...args : 
        [string] | 
        [number[] | string | MintingPolicyHash, number[] | string]
)

Static methods

fromCbor

Deserializes bytes into an AssetClass.

helios.AssetClass.fromCbor(bytes: []number): helios.AssetClass

Methods

toCbor

Turns an AssetClass instance into its CBOR representation.

asset_class.toCbor(): number[]