Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IssueAssetArgs

The argument object for AssetApi.issueAsset

Hierarchy

Index

Properties

Optional attachment

attachment: Attachment

An optional attachment

Optional deadline

deadline: number

The deadline when after how many minutes the transaction will be discarded, if it was not processed, e.g. due to very low fee

decimals

decimals: number

The decimals supported for this asset. Example:

  1. a quantity of 1000 with decimal 2 allows 10 integer assets with 2 digit fraction, i.e 5.32
  2. a quantity of 1000 with decimal 0 allows 1000 integer assets which cannot be fractioned

description

description: string

The description for this asset

feePlanck

feePlanck: string

The fee expressed in Planck

note

It's recommended to use util.Amount

mintable

mintable: boolean

Decides whether this asset is mintable, i.e. has a variable supply.

name

name: string

The name of the asset

quantity

quantity: string | number

The amount of assets to be issued (take the decimals into consideration) If you set decimals to 4 and want to have 100 full assets, you need to set this value to 1000000

Optional referencedTransactionFullHash

referencedTransactionFullHash: string

Using this field allows to make a transaction dependent on other transactions.

Optional senderPrivateKey

senderPrivateKey: string

The senders private key, i.e. the crypto.Keys.signPrivateKey If the private key is not given, then the transaction method will return the unsigned byte string. The transaction won't be processed until the unsigned bytes are being signed and broadcasted using TransactionApi.signAndBroadcastTransaction

senderPublicKey

senderPublicKey: string

The senders public key, i.e. the crypto.Keys.publicKey

Optional skipAdditionalSecurityCheck

skipAdditionalSecurityCheck: boolean

Setting this option to true, skips the additional security check, i.e. the verification of the unsigned transaction bytes, which detects tampered node responses. By default, the option is false. Usually, you won't use this option, but can be useful when a method cannot be verified, because the verification is not implemented yet.