Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Transaction

Transaction enables construction of Algorand transactions

Hierarchy

  • Transaction

Implements

Index

Constructors

Properties

amount: number | bigint
appAccounts?: Address[]
appApprovalProgram: Uint8Array
appArgs?: Uint8Array[]
appClearProgram: Uint8Array
appForeignApps?: number[]
appForeignAssets?: number[]
appGlobalByteSlices: number
appGlobalInts: number
appIndex: number
appLocalByteSlices: number
appLocalInts: number
appOnComplete: OnApplicationComplete
assetClawback: Address
assetDecimals: number
assetDefaultFrozen: boolean
assetFreeze: Address
assetIndex: number
assetManager: Address
assetMetadataHash?: Uint8Array
assetName: string
assetReserve: Address
assetRevocationTarget?: Address
assetTotal: number | bigint
assetURL: string
assetUnitName: string
closeRemainderTo?: Address
extraPages?: number
fee: number
firstRound: number
flatFee: boolean
freezeAccount: Address
freezeState: boolean
from: Address
genesisHash: Buffer
genesisID: string
group?: Buffer
lastRound: number
lease?: Uint8Array
name: string = 'Transaction'
nonParticipation?: boolean
note?: Uint8Array
reKeyTo?: Address
selectionKey: Buffer
stateProofKey: Buffer
tag: Buffer = ...
voteFirst: number
voteKey: Buffer
voteKeyDilution: number
voteLast: number

Methods

  • addLease(lease: Uint8Array, feePerByte?: number): void
  • addRekey(reKeyTo: string, feePerByte?: number): void
  • bytesToSign(): Buffer
  • estimateSize(): number
  • prettyPrint(): void
  • rawSignTxn(sk: Uint8Array): Buffer
  • rawTxID(): Buffer
  • signTxn(sk: Uint8Array): Uint8Array
  • toByte(): Uint8Array
  • toString(): string
  • txID(): string

Generated using TypeDoc