Skip to content

PaymentTxn

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / index / gtxn / PaymentTxn

Interface: PaymentTxn

Defined in: packages/algo-ts/src/gtxn.ts:36

A payment transaction

Extends

Constructors

Properties

amount

readonly amount: uint64

Defined in: packages/algo-ts/src/transactions.ts:105

microalgos

Inherited from

PaymentTxn.amount


closeRemainderTo

readonly closeRemainderTo: Account

Defined in: packages/algo-ts/src/transactions.ts:110

32 byte address

Inherited from

PaymentTxn.closeRemainderTo


fee

readonly fee: uint64

Defined in: packages/algo-ts/src/transactions.ts:44

microalgos

Inherited from

PaymentTxn.fee


firstValid

readonly firstValid: uint64

Defined in: packages/algo-ts/src/transactions.ts:49

round number

Inherited from

PaymentTxn.firstValid


firstValidTime

readonly firstValidTime: uint64

Defined in: packages/algo-ts/src/transactions.ts:54

UNIX timestamp of block before txn.FirstValid. Fails if negative

Inherited from

PaymentTxn.firstValidTime


groupIndex

readonly groupIndex: uint64

Defined in: packages/algo-ts/src/transactions.ts:80

Position of this transaction within an atomic group A stand-alone transaction is implicitly element 0 in a group of 1

Inherited from

PaymentTxn.groupIndex


lastValid

readonly lastValid: uint64

Defined in: packages/algo-ts/src/transactions.ts:59

round number

Inherited from

PaymentTxn.lastValid


lease

readonly lease: bytes

Defined in: packages/algo-ts/src/transactions.ts:69

32 byte lease value

Inherited from

PaymentTxn.lease


note

readonly note: bytes

Defined in: packages/algo-ts/src/transactions.ts:64

Any data up to 1024 bytes

Inherited from

PaymentTxn.note


receiver

readonly receiver: Account

Defined in: packages/algo-ts/src/transactions.ts:100

32 byte address

Inherited from

PaymentTxn.receiver


rekeyTo

readonly rekeyTo: Account

Defined in: packages/algo-ts/src/transactions.ts:90

32 byte Sender’s new AuthAddr

Inherited from

PaymentTxn.rekeyTo


sender

readonly sender: Account

Defined in: packages/algo-ts/src/transactions.ts:39

32 byte address

Inherited from

PaymentTxn.sender


txnId

readonly txnId: bytes

Defined in: packages/algo-ts/src/transactions.ts:85

The computed ID for this transaction. 32 bytes.

Inherited from

PaymentTxn.txnId


type

readonly type: Payment

Defined in: packages/algo-ts/src/transactions.ts:115

Transaction type as integer

Inherited from

PaymentTxn.type


typeBytes

readonly typeBytes: bytes

Defined in: packages/algo-ts/src/transactions.ts:74

Transaction type as bytes

Inherited from

PaymentTxn.typeBytes