Skip to content

CreateAssetParams

Defined in: algokit-utils-ts/src/types/asset.ts:7

optional atc?: AtomicTransactionComposer

Defined in: algokit-utils-ts/src/types/transaction.ts:36

An optional AtomicTransactionComposer to add the transaction to, if specified then skipSending: undefined has the same effect as skipSending: true

SendTransactionParams.atc


optional clawbackAccount?: string | SendTransactionFrom

Defined in: algokit-utils-ts/src/types/asset.ts:57

The optional account that can clawback holdings of this asset. If empty, clawback is not permitted. If not set at asset creation or subsequently set to empty by the manager the field is permanently empty.


creator: SendTransactionFrom

Defined in: algokit-utils-ts/src/types/asset.ts:11

The account to create the asset.

This account automatically is opted in to the asset and holds all units after creation.


decimals: number

Defined in: algokit-utils-ts/src/types/asset.ts:26

The number of digits to use after the decimal point when displaying the 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. If 3, the base unit of the asset is in thousandths, and so on up to 19 decimal places. This field can only be specified upon asset creation.


optional fee?: AlgoAmount

Defined in: algokit-utils-ts/src/types/transaction.ts:40

The flat fee you want to pay, useful for covering extra fees in a transaction group or app call

SendTransactionParams.fee


optional freezeAccount?: string | SendTransactionFrom

Defined in: algokit-utils-ts/src/types/asset.ts:53

The optional account that can be used to freeze holdings of this asset. If empty, freezing is not permitted. If not set at asset creation or subsequently set to empty by the manager the field is permanently empty.


optional frozenByDefault?: boolean

Defined in: algokit-utils-ts/src/types/asset.ts:59

Whether to freeze holdings for this asset by default. If true then for anyone apart from the creator to hold the asset it needs to be unfrozen per account using freeze. Defaults to false.


optional lease?: string | Uint8Array<ArrayBufferLike>

Defined in: algokit-utils-ts/src/types/asset.ts:66

An (optional) transaction lease to apply


optional manager?: string | SendTransactionFrom

Defined in: algokit-utils-ts/src/types/asset.ts:43

The optional account that can manage the configuration of the asset and destroy it. If not set at asset creation or subsequently set to empty by the manager the asset becomes immutable.


optional maxFee?: AlgoAmount

Defined in: algokit-utils-ts/src/types/transaction.ts:42

The maximum fee that you are happy to pay (default: unbounded) - if this is set it’s possible the transaction could get rejected during network congestion

SendTransactionParams.maxFee


optional maxRoundsToWaitForConfirmation?: number

Defined in: algokit-utils-ts/src/types/transaction.ts:44

The maximum number of rounds to wait for confirmation, only applies if skipWaiting is undefined or false, default: wait up to 5 rounds

SendTransactionParams.maxRoundsToWaitForConfirmation


optional metadataHash?: string | Uint8Array<ArrayBufferLike>

Defined in: algokit-utils-ts/src/types/asset.ts:39

This field is intended to be a 32-byte hash of some metadata that is relevant to your asset and/or asset holders. The format of this metadata is up to the application. This field can only be specified upon asset creation.


optional name?: string

Defined in: algokit-utils-ts/src/types/asset.ts:29

The optional name of the asset. Max size if 32 bytes. This field can only be specified upon asset creation.


optional note?: TransactionNote

Defined in: algokit-utils-ts/src/types/asset.ts:64

The (optional) transaction note


optional populateAppCallResources?: boolean

Defined in: algokit-utils-ts/src/types/transaction.ts:46

Whether to use simulate to automatically populate app call resources in the txn objects. Defaults to true when there are app calls in the group.

SendTransactionParams.populateAppCallResources


optional reserveAccount?: string | SendTransactionFrom

Defined in: algokit-utils-ts/src/types/asset.ts:49

The optional account that holds the reserve (non-minted) units of the asset. This address has no specific authority in the protocol itself and is informational. Some standards like ARC-19 rely on this field to hold meaningful data. It is used in the case where you want to signal to holders of your asset that the non-minted units of the asset reside in an account that is different from the default creator account. If not set at asset creation or subsequently set to empty by the manager the field is permanently empty.


optional skipSending?: boolean

Defined in: algokit-utils-ts/src/types/transaction.ts:32

Whether to skip signing and sending the transaction to the chain (default: transaction signed and sent to chain, unless atc specified) and instead just return the raw transaction, e.g. so you can add it to a group of transactions

SendTransactionParams.skipSending


optional skipWaiting?: boolean

Defined in: algokit-utils-ts/src/types/transaction.ts:34

Whether to skip waiting for the submitted transaction (only relevant if skipSending is false or unset)

SendTransactionParams.skipWaiting


optional suppressLog?: boolean

Defined in: algokit-utils-ts/src/types/transaction.ts:38

Whether to suppress log messages from transaction send, default: do not suppress

SendTransactionParams.suppressLog


total: number | bigint

Defined in: algokit-utils-ts/src/types/asset.ts:17

The total number of base (decimal) units of the asset to create. If decimal is, say, 2, then for every 100 total there would be 1 whole unit. This field can only be specified upon asset creation.


optional transactionParams?: SuggestedParams

Defined in: algokit-utils-ts/src/types/asset.ts:62

Optional transaction parameters


optional unit?: string

Defined in: algokit-utils-ts/src/types/asset.ts:31

The optional name of the unit of this asset. Max size is 8 bytes. This field can only be specified upon asset creation.


optional url?: string

Defined in: algokit-utils-ts/src/types/asset.ts:35

Specifies an optional URL where more information about the asset can be retrieved. Max size is 96 bytes. This field can only be specified upon asset creation.