Skip to content

TransactionInBlock

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

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:62

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


optional closeAmount: bigint

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

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


optional closeRewards: bigint

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

Rewards in microalgos applied to the close remainder to account.


optional createdAppId: bigint

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

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


optional createdAssetId: bigint

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

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


optional genesisHash: Uint8Array<ArrayBufferLike>

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

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


optional genesisId: string

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

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


intraRoundOffset: number

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

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

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

optional logs: Uint8Array<ArrayBufferLike>[]

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

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


optional parentIntraRoundOffset: number

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

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:46

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


optional receiverRewards: bigint

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

Rewards in microalgos applied to the receiver account.


roundNumber: bigint

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

The round number of the block the transaction is within.


roundTimestamp: number

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

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


optional senderRewards: bigint

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

Rewards in microalgos applied to the sender account.


signedTxnWithAD: SignedTxnWithAD

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

The signed transaction with apply data from the block


transaction: Transaction

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

The transaction as a Transaction object.


transactionId: string

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

The transaction ID

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