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