Leo Wallet Docs
Ask or search…
K
Links

Transaction

Class: Transaction

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Transaction(address, chainId, transitions, fee, feePrivate?)
Parameters
Name
Type
Default value
address
string
undefined
chainId
string
undefined
transitions
undefined
fee
number
undefined
feePrivate
boolean
true
Defined in

Properties

address

address: string
Implementation of
Defined in

chainId

chainId: string
Implementation of
Defined in

fee

fee: number
Implementation of
Defined in

feePrivate

feePrivate: boolean
Implementation of
Defined in

transitions

transitions: AleoTransition[]
Implementation of
Defined in

Methods

createTransaction

Static createTransaction(address, chainId, program, functionName, inputs, fee, feePrivate?): Transaction
Parameters
Name
Type
Default value
address
string
undefined
chainId
string
undefined
program
string
undefined
functionName
string
undefined
inputs
any[]
undefined
fee
number
undefined
feePrivate
boolean
true
Returns
Defined in