Creates a new Transaction object.
Optional applicationOptional assetOptional assetOptional assetOptional authOptional closeOptional closingOptional confirmedOptional createdOptional createdOptional genesisOptional genesisOptional globalOptional group?: string | Uint8ArrayOptional heartbeatOptional id?: stringOptional innerOptional intraOptional keyregOptional lease?: string | Uint8ArrayOptional localOptional logs?: Uint8Array[]Optional note?: string | Uint8ArrayOptional paymentOptional receiverOptional rekeyOptional roundOptional senderOptional signature?: TransactionSignatureOptional stateOptional txOptional applicationFields for application transactions. Definition: data/transactions/application.go : ApplicationCallTxnFields
Optional assetFields for asset allocation, re-configuration, and destruction. A zero value for asset-id indicates asset creation. A zero value for the params indicates asset destruction. Definition: data/transactions/asset.go : AssetConfigTxnFields
Optional assetFields for an asset freeze transaction. Definition: data/transactions/asset.go : AssetFreezeTxnFields
Optional assetFields for an asset transfer transaction. Definition: data/transactions/asset.go : AssetTransferTxnFields
Optional auth(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.
Optional close(rc) rewards applied to close-remainder-to account.
Optional closing(ca) closing amount for transaction.
Optional confirmedRound when the transaction was confirmed.
Optional createdSpecifies an application index (ID) if an application was created with this transaction.
Optional createdSpecifies an asset index (ID) if an asset was created with this transaction.
(fee) Transaction fee.
(fv) First valid round for this transaction.
Optional genesis(gh) Hash of genesis block.
Optional genesis(gen) genesis block ID.
Optional global(gd) Global state key/value changes for the application being executed by this transaction.
Optional group(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.
Optional heartbeatFields for a heartbeat transaction. Definition: data/transactions/heartbeat.go : HeartbeatTxnFields
Optional idTransaction ID
Optional innerInner transactions produced by application execution.
Optional intraOffset into the round where this transaction was confirmed.
Optional keyregFields for a keyreg transaction. Definition: data/transactions/keyreg.go : KeyregTxnFields
(lv) Last valid round for this transaction.
Optional lease(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.
Optional local(ld) Local state key/value changes for the application being executed by this transaction.
Optional logs(lg) Logs for the application being executed by this transaction.
Optional note(note) Free form data.
Optional paymentFields for a payment transaction. Definition: data/transactions/payment.go : PaymentTxnFields
Optional receiver(rr) rewards applied to receiver account.
Optional rekey(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.
Optional roundTime when the block this transaction is in was confirmed.
(snd) Sender's address.
Optional sender(rs) rewards applied to sender account.
Optional signatureValidation signature associated with some data. Only one of the signatures should be provided.
Optional stateFields for a state proof transaction. Definition: data/transactions/stateproof.go : StateProofTxnFields
Optional tx(type) Indicates what type of transaction this is. Different types have different fields. Valid types, and where their fields are stored:
Static Private encodingStatic encodingStatic fromGenerated using TypeDoc
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