Skip to content

Create Publication

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

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

Properties

application-transaction

Optional application-transaction: ApplicationTransactionResult

If the transaction is an appl transaction this will be populated see tx-type

Defined in

src/types/indexer.ts:117


asset-config-transaction

asset-config-transaction: AssetConfigTransactionResult

If the transaction is an acfg transaction this will be populated see tx-type

Defined in

src/types/indexer.ts:123


asset-freeze-transaction

Optional asset-freeze-transaction: AssetFreezeTransactionResult

If the transaction is an afrz transaction this will be populated see tx-type

Defined in

src/types/indexer.ts:129


asset-transfer-transaction

Optional asset-transfer-transaction: AssetTransferTransactionResult

If the transaction is an axfer transaction this will be populated see tx-type

Defined in

src/types/indexer.ts:131


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

src/types/indexer.ts:139


close-rewards

Optional close-rewards: number

[rc] rewards applied to close-remainder-to account.

Defined in

src/types/indexer.ts:174


closing-amount

Optional closing-amount: number

[ca] closing amount for transaction.

Defined in

src/types/indexer.ts:141


confirmed-round

Optional confirmed-round: number

Round when the transaction was confirmed.

Defined in

src/types/indexer.ts:93


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

src/types/indexer.ts:121


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

src/types/indexer.ts:127


fee

fee: number

[fee] Transaction fee.

Defined in

src/types/indexer.ts:85


first-valid

first-valid: number

[fv] First valid round for this transaction.

Defined in

src/types/indexer.ts:89


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

src/types/indexer.ts:146


genesis-id

Optional genesis-id: string

[gen] genesis block ID.

Defined in

src/types/indexer.ts:148


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

src/types/indexer.ts:168


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

src/types/indexer.ts:101


id

id: string

Transaction ID

Defined in

src/types/indexer.ts:81


inner-txns

Optional inner-txns: TransactionResult[]

Inner transactions produced by application execution.

Defined in

src/types/indexer.ts:150


intra-round-offset

Optional intra-round-offset: number

Offset into the round where this transaction was confirmed.

Defined in

src/types/indexer.ts:113


keyreg-transaction

Optional keyreg-transaction: KeyRegistrationTransactionResult

If the transaction is a keyreg transaction this will be populated see tx-type

Defined in

src/types/indexer.ts:133


last-valid

last-valid: number

[lv] Last valid round for this transaction.

Defined in

src/types/indexer.ts:91


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

src/types/indexer.ts:164


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

src/types/indexer.ts:166


logs

Optional logs: string[]

[lg] Logs for the application being executed by this transaction.

Defined in

src/types/indexer.ts:109


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

src/types/indexer.ts:107


payment-transaction

Optional payment-transaction: PaymentTransactionResult

If the transaction is a pay transaction this will be populated see tx-type

Defined in

src/types/indexer.ts:135


receiver-rewards

Optional receiver-rewards: number

[rr] rewards applied to receiver account.

Defined in

src/types/indexer.ts:170


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

src/types/indexer.ts:154


round-time

Optional round-time: number

Time when the block this transaction is in was confirmed.

Defined in

src/types/indexer.ts:111


sender

sender: string

[snd] Sender's address.

Defined in

src/types/indexer.ts:87


sender-rewards

Optional sender-rewards: number

[rs] rewards applied to sender account.

Defined in

src/types/indexer.ts:172


signature

Optional signature: TransactionSignature

Signature of the transaction

Defined in

src/types/indexer.ts:115


tx-type

tx-type: TransactionType

[type] Indicates what type of transaction this is. Different types have different fields.

Defined in

src/types/indexer.ts:83