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
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
The id of the asset