TransactionInBlock
@algorandfoundation/algokit-subscriber
Interface: TransactionInBlock
Section titled “Interface: TransactionInBlock”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.
Properties
Section titled “Properties”assetCloseAmount?
Section titled “assetCloseAmount?”
optionalassetCloseAmount:bigint
Defined in: src/types/block.ts:61
The asset close amount if the sender asset position was closed from this transaction.
closeAmount?
Section titled “closeAmount?”
optionalcloseAmount:bigint
Defined in: src/types/block.ts:63
The ALGO close amount if the sender account was closed from this transaction.
closeRewards?
Section titled “closeRewards?”
optionalcloseRewards:bigint
Defined in: src/types/block.ts:67
Rewards in microalgos applied to the close remainder to account.
createdAppId?
Section titled “createdAppId?”
optionalcreatedAppId:bigint
Defined in: src/types/block.ts:59
The app ID if an app was created from this transaction.
createdAssetId?
Section titled “createdAssetId?”
optionalcreatedAssetId:bigint
Defined in: src/types/block.ts:57
The asset ID if an asset was created from this transaction.
genesisHash?
Section titled “genesisHash?”
optionalgenesisHash:Buffer
Defined in: src/types/block.ts:47
The binary genesis hash of the network the transaction is within.
genesisId?
Section titled “genesisId?”
optionalgenesisId:string
Defined in: src/types/block.ts:49
The string genesis ID of the network the transaction is within.
intraRoundOffset
Section titled “intraRoundOffset”intraRoundOffset:
number
Defined in: src/types/block.ts:30
The offset of the transaction within the round including inner transactions.
Example
Section titled “Example”-0 - 1 - 2 - 3 - 4 - 5;
optionallogs:Uint8Array[]
Defined in: src/types/block.ts:65
Any logs that were issued as a result of this transaction.
parentIntraRoundOffset?
Section titled “parentIntraRoundOffset?”
optionalparentIntraRoundOffset:number
Defined in: src/types/block.ts:41
The intra-round offset of the parent transaction if this is an inner transaction.
Example
Section titled “Example”-0 - 1 - 1 - 1 - 1 - 2;parentTransactionId?
Section titled “parentTransactionId?”
optionalparentTransactionId:string
Defined in: src/types/block.ts:45
The ID of the parent transaction if this is an inner transaction.
receiverRewards?
Section titled “receiverRewards?”
optionalreceiverRewards:bigint
Defined in: src/types/block.ts:71
Rewards in microalgos applied to the receiver account.
roundNumber
Section titled “roundNumber”roundNumber:
bigint
Defined in: src/types/block.ts:51
The round number of the block the transaction is within.
roundTimestamp
Section titled “roundTimestamp”roundTimestamp:
number
Defined in: src/types/block.ts:53
The round unix timestamp of the block the transaction is within.
senderRewards?
Section titled “senderRewards?”
optionalsenderRewards:bigint
Defined in: src/types/block.ts:69
Rewards in microalgos applied to the sender account.
signedTxnWithAD
Section titled “signedTxnWithAD”signedTxnWithAD:
SignedTxnWithAD
Defined in: src/types/block.ts:10
The signed transaction with apply data from the block
transaction
Section titled “transaction”transaction:
Transaction
Defined in: src/types/block.ts:55
The transaction as an algosdk Transaction object.
transactionId
Section titled “transactionId”transactionId:
string
Defined in: src/types/block.ts:19
The transaction ID
Example
Section titled “Example”- W6IG6SETWKISJV4JQSS6GNZGWKYXOOLH7FT3NQM4BIFRLCOXOQHA if it's a parent transaction - W6IG6SETWKISJV4JQSS6GNZGWKYXOOLH7FT3NQM4BIFRLCOXOQHA/inner/1 if it's an inner transaction