Skip to content

TransactionInBlock

@algorandfoundation/algokit-subscriber


Defined in: src/types/block.ts:6

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

optional assetCloseAmount: bigint

Defined in: src/types/block.ts:61

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


optional closeAmount: bigint

Defined in: src/types/block.ts:63

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


optional closeRewards: bigint

Defined in: src/types/block.ts:67

Rewards in microalgos applied to the close remainder to account.


optional createdAppId: bigint

Defined in: src/types/block.ts:59

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


optional createdAssetId: bigint

Defined in: src/types/block.ts:57

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


optional genesisHash: Buffer

Defined in: src/types/block.ts:47

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


optional genesisId: string

Defined in: src/types/block.ts:49

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


intraRoundOffset: number

Defined in: src/types/block.ts:30

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

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

optional logs: Uint8Array[]

Defined in: src/types/block.ts:65

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


optional parentIntraRoundOffset: number

Defined in: src/types/block.ts:41

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

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

optional parentTransactionId: string

Defined in: src/types/block.ts:45

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


optional receiverRewards: bigint

Defined in: src/types/block.ts:71

Rewards in microalgos applied to the receiver account.


roundNumber: bigint

Defined in: src/types/block.ts:51

The round number of the block the transaction is within.


roundTimestamp: number

Defined in: src/types/block.ts:53

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


optional senderRewards: bigint

Defined in: src/types/block.ts:69

Rewards in microalgos applied to the sender account.


signedTxnWithAD: SignedTxnWithAD

Defined in: src/types/block.ts:10

The signed transaction with apply data from the block


transaction: Transaction

Defined in: src/types/block.ts:55

The transaction as an algosdk Transaction object.


transactionId: string

Defined in: src/types/block.ts:19

The transaction ID

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