Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommitmentArgs

param

The amount to be sent as Planck value

param

The fee as Planck value

param

The id of the recipient

param

The optional recipients public key in hex format. Using this arg allows to activate a recipients account, if not activated yet

param

The senders public key for sending an unsigned message

param

The senders private key to sign the message

param

An optional attachment

param

The optional transactions deadline in minutes until it's being removed from mempool. This may happen on low fees. Defaults to 1440 (maximum)

Hierarchy

Index

Properties

amountPlanck

amountPlanck: string

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

feePlanck

feePlanck: string

The fee expressed in Planck

note

It's recommended to use util.BurstValue

senderPrivateKey

senderPrivateKey: string

The senders private key, i.e. the crypto.Keys.signPrivateKey

senderPublicKey

senderPublicKey: string

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