Skip to content

AssetParams

AssetParams = object

Defined in: packages/indexer_client/src/models/asset-params.ts:12

AssetParams specifies the parameters for an asset.

[apar] when part of an AssetConfig transaction.

Definition: data/transactions/asset.go : AssetParams

optional clawback: string

Defined in: packages/indexer_client/src/models/asset-params.ts:16

Address of account used to clawback holdings of this asset. If empty, clawback is not permitted.


creator: string

Defined in: packages/indexer_client/src/models/asset-params.ts:21

The address that created this asset. This is the address where the parameters for this asset can be found, and also the address where unwanted asset units can be sent in the worst case.


decimals: number

Defined in: packages/indexer_client/src/models/asset-params.ts:26

The number of digits to use after the decimal point when displaying this asset. If 0, the asset is not divisible. If 1, the base unit of the asset is in tenths. If 2, the base unit of the asset is in hundredths, and so on. This value must be between 0 and 19 (inclusive).


optional defaultFrozen: boolean

Defined in: packages/indexer_client/src/models/asset-params.ts:31

Whether holdings of this asset are frozen by default.


optional freeze: string

Defined in: packages/indexer_client/src/models/asset-params.ts:36

Address of account used to freeze holdings of this asset. If empty, freezing is not permitted.


optional manager: string

Defined in: packages/indexer_client/src/models/asset-params.ts:41

Address of account used to manage the keys of this asset and to destroy it.


optional metadataHash: Uint8Array

Defined in: packages/indexer_client/src/models/asset-params.ts:46

A commitment to some unspecified asset metadata. The format of this metadata is up to the application.


optional name: string

Defined in: packages/indexer_client/src/models/asset-params.ts:51

Name of this asset, as supplied by the creator. Included only when the asset name is composed of printable utf-8 characters.


optional nameB64: Uint8Array

Defined in: packages/indexer_client/src/models/asset-params.ts:56

Base64 encoded name of this asset, as supplied by the creator.


optional reserve: string

Defined in: packages/indexer_client/src/models/asset-params.ts:61

Address of account holding reserve (non-minted) units of this asset.


total: bigint

Defined in: packages/indexer_client/src/models/asset-params.ts:66

The total number of units of this asset.


optional unitName: string

Defined in: packages/indexer_client/src/models/asset-params.ts:71

Name of a unit of this asset, as supplied by the creator. Included only when the name of a unit of this asset is composed of printable utf-8 characters.


optional unitNameB64: Uint8Array

Defined in: packages/indexer_client/src/models/asset-params.ts:76

Base64 encoded name of a unit of this asset, as supplied by the creator.


optional url: string

Defined in: packages/indexer_client/src/models/asset-params.ts:81

URL where more information about the asset can be retrieved. Included only when the URL is composed of printable utf-8 characters.


optional urlB64: Uint8Array

Defined in: packages/indexer_client/src/models/asset-params.ts:86

Base64 encoded URL where more information about the asset can be retrieved.