types indexer.TransactionResult
@algorandfoundation/algokit-utils / types/indexer / TransactionResult
Interface: TransactionResult¶
types/indexer.TransactionResult
Indexer result for a transaction, https://developer.algorand.org/docs/rest-apis/indexer/#transaction
Hierarchy¶
Record
\<string
,any
>
↳ TransactionResult
Table of contents¶
Properties¶
- application-transaction
- asset-config-transaction
- asset-freeze-transaction
- asset-transfer-transaction
- auth-addr
- close-rewards
- closing-amount
- confirmed-round
- created-application-index
- created-asset-index
- fee
- first-valid
- genesis-hash
- genesis-id
- global-state-delta
- group
- id
- inner-txns
- intra-round-offset
- keyreg-transaction
- last-valid
- lease
- local-state-delta
- logs
- note
- payment-transaction
- receiver-rewards
- rekey-to
- round-time
- sender
- sender-rewards
- signature
- state-proof-transaction
- tx-type
Properties¶
application-transaction¶
• Optional
application-transaction: ApplicationTransactionResult
If the transaction is an appl
transaction this will be populated see tx-type
Defined in¶
asset-config-transaction¶
• Optional
asset-config-transaction: AssetConfigTransactionResult
If the transaction is an acfg
transaction this will be populated see tx-type
Defined in¶
asset-freeze-transaction¶
• Optional
asset-freeze-transaction: AssetFreezeTransactionResult
If the transaction is an afrz
transaction this will be populated see tx-type
Defined in¶
asset-transfer-transaction¶
• Optional
asset-transfer-transaction: AssetTransferTransactionResult
If the transaction is an axfer
transaction this will be populated see tx-type
Defined in¶
auth-addr¶
• Optional
auth-addr: string
[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.
Defined in¶
close-rewards¶
• Optional
close-rewards: number
[rc] rewards applied to close-remainder-to account.
Defined in¶
closing-amount¶
• Optional
closing-amount: number
[ca] closing amount for transaction.
Defined in¶
confirmed-round¶
• Optional
confirmed-round: number
Round when the transaction was confirmed.
Defined in¶
created-application-index¶
• Optional
created-application-index: number
If the transaction is an appl
transaction that resulted in an application creation then this
specifies the application index (ID) of that application.
Defined in¶
created-asset-index¶
• Optional
created-asset-index: number
If the transaction is an acfg
transaction that resulted in an asset creation then this
specifies the asset index (ID) of that asset.
Defined in¶
fee¶
• fee: number
[fee] Transaction fee.
Defined in¶
first-valid¶
• first-valid: number
[fv] First valid round for this transaction.
Defined in¶
genesis-hash¶
• Optional
genesis-hash: string
[gh] Hash of genesis block.
Pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"
Defined in¶
genesis-id¶
• Optional
genesis-id: string
[gen] genesis block ID.
Defined in¶
global-state-delta¶
• Optional
global-state-delta: Record
\<string
, EvalDelta
>[]
[gd] Global state key/value changes for the application being executed by this transaction.
Defined in¶
group¶
• Optional
group: string
[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.
Pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"
Defined in¶
id¶
• id: string
Transaction ID
Defined in¶
inner-txns¶
• Optional
inner-txns: TransactionResult
[]
Inner transactions produced by application execution.
Defined in¶
intra-round-offset¶
• Optional
intra-round-offset: number
Offset into the round where this transaction was confirmed.
Defined in¶
keyreg-transaction¶
• Optional
keyreg-transaction: KeyRegistrationTransactionResult
If the transaction is a keyreg
transaction this will be populated see tx-type
Defined in¶
last-valid¶
• last-valid: number
[lv] Last valid round for this transaction.
Defined in¶
lease¶
• Optional
lease: string
[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.
Pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"
Defined in¶
local-state-delta¶
• Optional
local-state-delta: Record
\<string
, EvalDelta
>[]
[ld] Local state key/value changes for the application being executed by this transaction.
Defined in¶
logs¶
• Optional
logs: string
[]
[lg] Logs for the application being executed by this transaction.
Defined in¶
note¶
• Optional
note: string
[note] Free form data.
Pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"
Defined in¶
payment-transaction¶
• Optional
payment-transaction: PaymentTransactionResult
If the transaction is a pay
transaction this will be populated see tx-type
Defined in¶
receiver-rewards¶
• Optional
receiver-rewards: number
[rr] rewards applied to receiver account.
Defined in¶
rekey-to¶
• Optional
rekey-to: string
[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.
Defined in¶
round-time¶
• Optional
round-time: number
Time when the block this transaction is in was confirmed.
Defined in¶
sender¶
• sender: string
[snd] Sender's address.
Defined in¶
sender-rewards¶
• Optional
sender-rewards: number
[rs] rewards applied to sender account.
Defined in¶
signature¶
• Optional
signature: TransactionSignature
Signature of the transaction
Defined in¶
state-proof-transaction¶
• Optional
state-proof-transaction: StateProofTransactionResult
If the transaction is a stpf
transaction this will be populated see tx-type
Defined in¶
tx-type¶
• tx-type: TransactionType
[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