Transaction
Transaction =
object
Defined in: packages/indexer_client/src/models/transaction.ts:44
Contains all fields common to all transactions and serves as an envelope to all transactions type. Represents both regular and inner transactions.
Definition: data/transactions/signedtxn.go : SignedTxn data/transactions/transaction.go : Transaction
Properties
Section titled “Properties”applicationTransaction?
Section titled “applicationTransaction?”
optionalapplicationTransaction:TransactionApplication
Defined in: packages/indexer_client/src/models/transaction.ts:45
assetConfigTransaction?
Section titled “assetConfigTransaction?”
optionalassetConfigTransaction:TransactionAssetConfig
Defined in: packages/indexer_client/src/models/transaction.ts:46
assetFreezeTransaction?
Section titled “assetFreezeTransaction?”
optionalassetFreezeTransaction:TransactionAssetFreeze
Defined in: packages/indexer_client/src/models/transaction.ts:47
assetTransferTransaction?
Section titled “assetTransferTransaction?”
optionalassetTransferTransaction:TransactionAssetTransfer
Defined in: packages/indexer_client/src/models/transaction.ts:48
authAddr?
Section titled “authAddr?”
optionalauthAddr:Address
Defined in: packages/indexer_client/src/models/transaction.ts:55
[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.
closeRewards?
Section titled “closeRewards?”
optionalcloseRewards:bigint
Defined in: packages/indexer_client/src/models/transaction.ts:60
[rc] rewards applied to close-remainder-to account.
closingAmount?
Section titled “closingAmount?”
optionalclosingAmount:bigint
Defined in: packages/indexer_client/src/models/transaction.ts:65
[ca] closing amount for transaction.
confirmedRound?
Section titled “confirmedRound?”
optionalconfirmedRound:bigint
Defined in: packages/indexer_client/src/models/transaction.ts:70
Round when the transaction was confirmed.
createdAppId?
Section titled “createdAppId?”
optionalcreatedAppId:bigint
Defined in: packages/indexer_client/src/models/transaction.ts:75
Specifies an application index (ID) if an application was created with this transaction.
createdAssetId?
Section titled “createdAssetId?”
optionalcreatedAssetId:bigint
Defined in: packages/indexer_client/src/models/transaction.ts:80
Specifies an asset index (ID) if an asset was created with this transaction.
fee:
bigint
Defined in: packages/indexer_client/src/models/transaction.ts:85
[fee] Transaction fee.
firstValid
Section titled “firstValid”firstValid:
bigint
Defined in: packages/indexer_client/src/models/transaction.ts:90
[fv] First valid round for this transaction.
genesisHash?
Section titled “genesisHash?”
optionalgenesisHash:Uint8Array
Defined in: packages/indexer_client/src/models/transaction.ts:95
[gh] Hash of genesis block.
genesisId?
Section titled “genesisId?”
optionalgenesisId:string
Defined in: packages/indexer_client/src/models/transaction.ts:100
[gen] genesis block ID.
globalStateDelta?
Section titled “globalStateDelta?”
optionalglobalStateDelta:StateDelta
Defined in: packages/indexer_client/src/models/transaction.ts:179
group?
Section titled “group?”
optionalgroup:Uint8Array
Defined in: packages/indexer_client/src/models/transaction.ts:105
[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.
heartbeatTransaction?
Section titled “heartbeatTransaction?”
optionalheartbeatTransaction:TransactionHeartbeat
Defined in: packages/indexer_client/src/models/transaction.ts:50
optionalid:string
Defined in: packages/indexer_client/src/models/transaction.ts:110
Transaction ID
innerTxns?
Section titled “innerTxns?”
optionalinnerTxns:Transaction[]
Defined in: packages/indexer_client/src/models/transaction.ts:189
Inner transactions produced by application execution.
intraRoundOffset?
Section titled “intraRoundOffset?”
optionalintraRoundOffset:number
Defined in: packages/indexer_client/src/models/transaction.ts:115
Offset into the round where this transaction was confirmed.
keyregTransaction?
Section titled “keyregTransaction?”
optionalkeyregTransaction:TransactionKeyreg
Defined in: packages/indexer_client/src/models/transaction.ts:116
lastValid
Section titled “lastValid”lastValid:
bigint
Defined in: packages/indexer_client/src/models/transaction.ts:121
[lv] Last valid round for this transaction.
lease?
Section titled “lease?”
optionallease:Uint8Array
Defined in: packages/indexer_client/src/models/transaction.ts:126
[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.
localStateDelta?
Section titled “localStateDelta?”
optionallocalStateDelta:AccountStateDelta[]
Defined in: packages/indexer_client/src/models/transaction.ts:178
[ld] Local state key/value changes for the application being executed by this transaction.
optionallogs:Uint8Array[]
Defined in: packages/indexer_client/src/models/transaction.ts:184
[lg] Logs for the application being executed by this transaction.
optionalnote:Uint8Array
Defined in: packages/indexer_client/src/models/transaction.ts:131
[note] Free form data.
paymentTransaction?
Section titled “paymentTransaction?”
optionalpaymentTransaction:TransactionPayment
Defined in: packages/indexer_client/src/models/transaction.ts:132
receiverRewards?
Section titled “receiverRewards?”
optionalreceiverRewards:bigint
Defined in: packages/indexer_client/src/models/transaction.ts:137
[rr] rewards applied to receiver account.
rekeyTo?
Section titled “rekeyTo?”
optionalrekeyTo:Address
Defined in: packages/indexer_client/src/models/transaction.ts:142
[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.
roundTime?
Section titled “roundTime?”
optionalroundTime:number
Defined in: packages/indexer_client/src/models/transaction.ts:147
Time when the block this transaction is in was confirmed.
sender
Section titled “sender”sender:
string
Defined in: packages/indexer_client/src/models/transaction.ts:152
[snd] Sender’s address.
senderRewards?
Section titled “senderRewards?”
optionalsenderRewards:bigint
Defined in: packages/indexer_client/src/models/transaction.ts:157
[rs] rewards applied to sender account.
signature?
Section titled “signature?”
optionalsignature:TransactionSignature
Defined in: packages/indexer_client/src/models/transaction.ts:158
stateProofTransaction?
Section titled “stateProofTransaction?”
optionalstateProofTransaction:TransactionStateProof
Defined in: packages/indexer_client/src/models/transaction.ts:49
txType
Section titled “txType”txType:
"pay"|"keyreg"|"acfg"|"axfer"|"afrz"|"appl"|"stpf"|"hb"
Defined in: packages/indexer_client/src/models/transaction.ts:173
[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