Interface TxParams

Common transaction parameters (fees, note..)


  • TxParams


closeRemainderTo?: string
feePerByte?: number

feePerByte or totalFee is used to set the appropriate transaction fee parameter. If both are set then totalFee takes precedence. NOTE: SDK expectsfee: number and boolean flatFee. But the API expects only one on parameter: fee. Here, we define feePerByte and totalFee - both as numberic parameters. We think that this is more explicit.

firstValid?: number
flatFee?: boolean
lease?: Uint8Array
note?: string | Uint8Array
noteb64?: string
rekeyTo?: string
totalFee?: number
validRounds?: number

Generated using TypeDoc