algokit-subscriber-ts

@algorandfoundation/algokit-subscriber / types/block / TransactionInBlock

Interface: TransactionInBlock

types/block.TransactionInBlock

The representation of all important data for a single transaction or inner transaction and its side effects within a committed block.

Table of contents

Properties

Properties

assetCloseAmount

Optional assetCloseAmount: bigint

The asset close amount if the sender asset position was closed from this transaction.

Defined in

src/types/block.ts:61


closeAmount

Optional closeAmount: bigint

The ALGO close amount if the sender account was closed from this transaction.

Defined in

src/types/block.ts:63


closeRewards

Optional closeRewards: bigint

Rewards in microalgos applied to the close remainder to account.

Defined in

src/types/block.ts:67


createdAppId

Optional createdAppId: bigint

The app ID if an app was created from this transaction.

Defined in

src/types/block.ts:59


createdAssetId

Optional createdAssetId: bigint

The asset ID if an asset was created from this transaction.

Defined in

src/types/block.ts:57


genesisHash

Optional genesisHash: Buffer

The binary genesis hash of the network the transaction is within.

Defined in

src/types/block.ts:47


genesisId

Optional genesisId: string

The string genesis ID of the network the transaction is within.

Defined in

src/types/block.ts:49


intraRoundOffset

intraRoundOffset: number

The offset of the transaction within the round including inner transactions.

Example

- 0
 - 1
   - 2
   - 3
     - 4
 - 5

Defined in

src/types/block.ts:30


logs

Optional logs: Uint8Array[]

Any logs that were issued as a result of this transaction.

Defined in

src/types/block.ts:65


parentIntraRoundOffset

Optional parentIntraRoundOffset: number

The intra-round offset of the parent transaction if this is an inner transaction.

Example

- 0
 - 1
   - 1
   - 1
     - 1
 - 2

Defined in

src/types/block.ts:41


parentTransactionId

Optional parentTransactionId: string

The ID of the parent transaction if this is an inner transaction.

Defined in

src/types/block.ts:45


receiverRewards

Optional receiverRewards: bigint

Rewards in microalgos applied to the receiver account.

Defined in

src/types/block.ts:71


roundNumber

roundNumber: bigint

The round number of the block the transaction is within.

Defined in

src/types/block.ts:51


roundTimestamp

roundTimestamp: number

The round unix timestamp of the block the transaction is within.

Defined in

src/types/block.ts:53


senderRewards

Optional senderRewards: bigint

Rewards in microalgos applied to the sender account.

Defined in

src/types/block.ts:69


signedTxnWithAD

signedTxnWithAD: SignedTxnWithAD

The signed transaction with apply data from the block

Defined in

src/types/block.ts:10


transaction

transaction: Transaction

The transaction as an algosdk Transaction object.

Defined in

src/types/block.ts:55


transactionId

transactionId: string

The transaction ID

Example

- W6IG6SETWKISJV4JQSS6GNZGWKYXOOLH7FT3NQM4BIFRLCOXOQHA if it's a parent transaction
 - W6IG6SETWKISJV4JQSS6GNZGWKYXOOLH7FT3NQM4BIFRLCOXOQHA/inner/1 if it's an inner transaction

Defined in

src/types/block.ts:19