Transaction

@demox-labs/aleo-wallet-adapter-base / Exports / 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

transaction.ts:35

Properties

address

address: string

Implementation of

AleoTransaction.address

Defined in

transaction.ts:29


chainId

chainId: string

Implementation of

AleoTransaction.chainId

Defined in

transaction.ts:30


fee

fee: number

Implementation of

AleoTransaction.fee

Defined in

transaction.ts:32


feePrivate

feePrivate: boolean

Implementation of

AleoTransaction.feePrivate

Defined in

transaction.ts:33


transitions

transitions: AleoTransition[]

Implementation of

AleoTransaction.transitions

Defined in

transaction.ts:31

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

Transaction

Defined in

transaction.ts:43

Last updated