Skip to content

Asset

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / index / Asset

Function: Asset()

Call Signature

Asset(): Asset

Defined in: packages/algo-ts/src/reference.ts:122

Creates a new Asset object represent the asset id 0 (an invalid ID)

Returns

Asset

Call Signature

Asset(assetId): Asset

Defined in: packages/algo-ts/src/reference.ts:127

Creates a new Asset object representing the asset with the specified id

Parameters

assetId

uint64

The id of the asset

Returns

Asset