Companion

object Companion

Functions

Link copied to clipboard
fun create(code: String, issuer: String): Asset

Creates a credit asset.

Link copied to clipboard
fun fromCanonicalForm(canonicalForm: String): Asset

Creates an Asset instance from a canonical string representation.

Link copied to clipboard
fun native(): Asset

Creates a native asset (XLM).