Skip to content

types/block

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.

PropertyTypeDescriptionDefined in
assetCloseAmount?bigintThe asset close amount if the sender asset position was closed from this transaction.src/types/block.ts:61
closeAmount?bigintThe ALGO close amount if the sender account was closed from this transaction.src/types/block.ts:63
closeRewards?bigintRewards in microalgos applied to the close remainder to account.src/types/block.ts:67
createdAppId?bigintThe app ID if an app was created from this transaction.src/types/block.ts:59
createdAssetId?bigintThe asset ID if an asset was created from this transaction.src/types/block.ts:57
genesisHash?BufferThe binary genesis hash of the network the transaction is within.src/types/block.ts:47
genesisId?stringThe string genesis ID of the network the transaction is within.src/types/block.ts:49
intraRoundOffsetnumberThe offset of the transaction within the round including inner transactions. Example - 0 - 1 - 2 - 3 - 4 - 5src/types/block.ts:30
logs?Uint8Array[]Any logs that were issued as a result of this transaction.src/types/block.ts:65
parentIntraRoundOffset?numberThe intra-round offset of the parent transaction if this is an inner transaction. Example - 0 - 1 - 1 - 1 - 1 - 2src/types/block.ts:41
parentTransactionId?stringThe ID of the parent transaction if this is an inner transaction.src/types/block.ts:45
receiverRewards?bigintRewards in microalgos applied to the receiver account.src/types/block.ts:71
roundNumberbigintThe round number of the block the transaction is within.src/types/block.ts:51
roundTimestampnumberThe round unix timestamp of the block the transaction is within.src/types/block.ts:53
senderRewards?bigintRewards in microalgos applied to the sender account.src/types/block.ts:69
signedTxnWithADSignedTxnWithADThe signed transaction with apply data from the blocksrc/types/block.ts:10
transactionTransactionThe transaction as an algosdk Transaction object.src/types/block.ts:55
transactionIdstringThe transaction ID Example - W6IG6SETWKISJV4JQSS6GNZGWKYXOOLH7FT3NQM4BIFRLCOXOQHA if it's a parent transaction - W6IG6SETWKISJV4JQSS6GNZGWKYXOOLH7FT3NQM4BIFRLCOXOQHA/inner/1 if it's an inner transactionsrc/types/block.ts:19