SubscribedTransaction
Defined in: src/types/subscription.ts:163
The common model used to expose a transaction that is returned from a subscription.
Substantively, based on the Indexer TransactionResult model format with some modifications to:
- Add the
parentTransactionIdfield so inner transactions have a reference to their parent - Override the type of
inner-txnsto beSubscribedTransaction[]so inner transactions (recursively) get these extra fields too - Add emitted ARC-28 events via
arc28Events - Balance changes in algo or assets
Extends
Section titled “Extends”Transaction
Properties
Section titled “Properties”applicationTransaction?
Section titled “applicationTransaction?”
optionalapplicationTransaction:TransactionApplication
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:24
Inherited from
Section titled “Inherited from”IndexerTransaction.applicationTransaction
arc28Events?
Section titled “arc28Events?”
optionalarc28Events:EmittedArc28Event[]
Defined in: src/types/subscription.ts:173
Any ARC-28 events emitted from an app call.
assetConfigTransaction?
Section titled “assetConfigTransaction?”
optionalassetConfigTransaction:TransactionAssetConfig
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:25
Inherited from
Section titled “Inherited from”IndexerTransaction.assetConfigTransaction
assetFreezeTransaction?
Section titled “assetFreezeTransaction?”
optionalassetFreezeTransaction:TransactionAssetFreeze
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:26
Inherited from
Section titled “Inherited from”IndexerTransaction.assetFreezeTransaction
assetTransferTransaction?
Section titled “assetTransferTransaction?”
optionalassetTransferTransaction:TransactionAssetTransfer
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:27
Inherited from
Section titled “Inherited from”IndexerTransaction.assetTransferTransaction
authAddr?
Section titled “authAddr?”
optionalauthAddr:Address
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:33
[sgnr] this is included with signed transactions when the signing address does not equal the sender. The backend can use this to ensure that auth addr is equal to the accounts auth addr.
Inherited from
Section titled “Inherited from”IndexerTransaction.authAddr
balanceChanges?
Section titled “balanceChanges?”
optionalbalanceChanges:BalanceChange[]
Defined in: src/types/subscription.ts:177
The balance changes in the transaction.
closeRewards?
Section titled “closeRewards?”
optionalcloseRewards:bigint
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:37
[rc] rewards applied to close-remainder-to account.
Inherited from
Section titled “Inherited from”IndexerTransaction.closeRewards
closingAmount?
Section titled “closingAmount?”
optionalclosingAmount:bigint
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:41
[ca] closing amount for transaction.
Inherited from
Section titled “Inherited from”IndexerTransaction.closingAmount
confirmedRound?
Section titled “confirmedRound?”
optionalconfirmedRound:bigint
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:45
Round when the transaction was confirmed.
Inherited from
Section titled “Inherited from”IndexerTransaction.confirmedRound
createdAppId?
Section titled “createdAppId?”
optionalcreatedAppId:bigint
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:49
Specifies an application index (ID) if an application was created with this transaction.
Inherited from
Section titled “Inherited from”IndexerTransaction.createdAppId
createdAssetId?
Section titled “createdAssetId?”
optionalcreatedAssetId:bigint
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:53
Specifies an asset index (ID) if an asset was created with this transaction.
Inherited from
Section titled “Inherited from”IndexerTransaction.createdAssetId
fee:
bigint
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:57
[fee] Transaction fee.
Inherited from
Section titled “Inherited from”IndexerTransaction.fee
filtersMatched?
Section titled “filtersMatched?”
optionalfiltersMatched:string[]
Defined in: src/types/subscription.ts:175
The names of any filters that matched the given transaction to result in it being ‘subscribed’.
firstValid
Section titled “firstValid”firstValid:
bigint
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:61
[fv] First valid round for this transaction.
Inherited from
Section titled “Inherited from”IndexerTransaction.firstValid
genesisHash?
Section titled “genesisHash?”
optionalgenesisHash:Uint8Array<ArrayBufferLike>
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:65
[gh] Hash of genesis block.
Inherited from
Section titled “Inherited from”IndexerTransaction.genesisHash
genesisId?
Section titled “genesisId?”
optionalgenesisId:string
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:69
[gen] genesis block ID.
Inherited from
Section titled “Inherited from”IndexerTransaction.genesisId
globalStateDelta?
Section titled “globalStateDelta?”
optionalglobalStateDelta:StateDelta
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:135
Inherited from
Section titled “Inherited from”IndexerTransaction.globalStateDelta
group?
Section titled “group?”
optionalgroup:Uint8Array<ArrayBufferLike>
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:73
[grp] Base64 encoded byte array of a sha512/256 digest. When present indicates that this transaction is part of a transaction group and the value is the sha512/256 hash of the transactions in that group.
Inherited from
Section titled “Inherited from”IndexerTransaction.group
heartbeatTransaction?
Section titled “heartbeatTransaction?”
optionalheartbeatTransaction:TransactionHeartbeat
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:29
Inherited from
Section titled “Inherited from”IndexerTransaction.heartbeatTransaction
id:
string
Defined in: src/types/subscription.ts:165
Transaction ID
Overrides
Section titled “Overrides”IndexerTransaction.id
innerTxns?
Section titled “innerTxns?”
optionalinnerTxns:SubscribedTransaction[]
Defined in: src/types/subscription.ts:171
Inner transactions produced by application execution.
Overrides
Section titled “Overrides”IndexerTransaction.innerTxns
intraRoundOffset?
Section titled “intraRoundOffset?”
optionalintraRoundOffset:number
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:81
Offset into the round where this transaction was confirmed.
Inherited from
Section titled “Inherited from”IndexerTransaction.intraRoundOffset
keyregTransaction?
Section titled “keyregTransaction?”
optionalkeyregTransaction:TransactionKeyreg
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:82
Inherited from
Section titled “Inherited from”IndexerTransaction.keyregTransaction
lastValid
Section titled “lastValid”lastValid:
bigint
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:86
[lv] Last valid round for this transaction.
Inherited from
Section titled “Inherited from”IndexerTransaction.lastValid
lease?
Section titled “lease?”
optionallease:Uint8Array<ArrayBufferLike>
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:90
[lx] Base64 encoded 32-byte array. Lease enforces mutual exclusion of transactions. If this field is nonzero, then once the transaction is confirmed, it acquires the lease identified by the (Sender, Lease) pair of the transaction until the LastValid round passes. While this transaction possesses the lease, no other transaction specifying this lease can be confirmed.
Inherited from
Section titled “Inherited from”IndexerTransaction.lease
localStateDelta?
Section titled “localStateDelta?”
optionallocalStateDelta:AccountStateDelta[]
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:134
[ld] Local state key/value changes for the application being executed by this transaction.
Inherited from
Section titled “Inherited from”IndexerTransaction.localStateDelta
optionallogs:Uint8Array<ArrayBufferLike>[]
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:139
[lg] Logs for the application being executed by this transaction.
Inherited from
Section titled “Inherited from”IndexerTransaction.logs
optionalnote:Uint8Array<ArrayBufferLike>
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:94
[note] Free form data.
Inherited from
Section titled “Inherited from”IndexerTransaction.note
parentIntraRoundOffset?
Section titled “parentIntraRoundOffset?”
optionalparentIntraRoundOffset:number
Defined in: src/types/subscription.ts:167
The intra-round offset of the parent of this transaction (if it’s an inner transaction).
parentTransactionId?
Section titled “parentTransactionId?”
optionalparentTransactionId:string
Defined in: src/types/subscription.ts:169
The transaction ID of the parent of this transaction (if it’s an inner transaction).
paymentTransaction?
Section titled “paymentTransaction?”
optionalpaymentTransaction:TransactionPayment
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:95
Inherited from
Section titled “Inherited from”IndexerTransaction.paymentTransaction
receiverRewards?
Section titled “receiverRewards?”
optionalreceiverRewards:bigint
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:99
[rr] rewards applied to receiver account.
Inherited from
Section titled “Inherited from”IndexerTransaction.receiverRewards
rekeyTo?
Section titled “rekeyTo?”
optionalrekeyTo:Address
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:103
[rekey] when included in a valid transaction, the accounts auth addr will be updated with this value and future signatures must be signed with the key represented by this address.
Inherited from
Section titled “Inherited from”IndexerTransaction.rekeyTo
roundTime?
Section titled “roundTime?”
optionalroundTime:number
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:107
Time when the block this transaction is in was confirmed.
Inherited from
Section titled “Inherited from”IndexerTransaction.roundTime
sender
Section titled “sender”sender:
string
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:111
[snd] Sender’s address.
Inherited from
Section titled “Inherited from”IndexerTransaction.sender
senderRewards?
Section titled “senderRewards?”
optionalsenderRewards:bigint
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:115
[rs] rewards applied to sender account.
Inherited from
Section titled “Inherited from”IndexerTransaction.senderRewards
signature?
Section titled “signature?”
optionalsignature:TransactionSignature
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:116
Inherited from
Section titled “Inherited from”IndexerTransaction.signature
stateProofTransaction?
Section titled “stateProofTransaction?”
optionalstateProofTransaction:TransactionStateProof
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:28
Inherited from
Section titled “Inherited from”IndexerTransaction.stateProofTransaction
txType
Section titled “txType”txType:
"pay"|"keyreg"|"acfg"|"axfer"|"afrz"|"appl"|"stpf"|"hb"
Defined in: node_modules/@algorandfoundation/algokit-utils/packages/indexer_client/src/models/transaction.d.ts:130
[type] Indicates what type of transaction this is. Different types have different fields.
Valid types, and where their fields are stored:
- [pay] payment-transaction
- [keyreg] keyreg-transaction
- [acfg] asset-config-transaction
- [axfer] asset-transfer-transaction
- [afrz] asset-freeze-transaction
- [appl] application-transaction
- [stpf] state-proof-transaction
- [hb] heartbeat-transaction
Inherited from
Section titled “Inherited from”IndexerTransaction.txType