-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(transaction): Making grouped transaction definition nicer
- Loading branch information
Showing
6 changed files
with
123 additions
and
22 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
docs/code/interfaces/types_transaction.TransactionGroupToSend.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
[@algorandfoundation/algokit-utils](../README.md) / [types/transaction](../modules/types_transaction.md) / TransactionGroupToSend | ||
|
||
# Interface: TransactionGroupToSend | ||
|
||
[types/transaction](../modules/types_transaction.md).TransactionGroupToSend | ||
|
||
A group of transactions to send together as an atomic group | ||
|
||
**`See`** | ||
|
||
https://developer.algorand.org/docs/get-details/atomic_transfers/ | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [sendParams](types_transaction.TransactionGroupToSend.md#sendparams) | ||
- [signer](types_transaction.TransactionGroupToSend.md#signer) | ||
- [transactions](types_transaction.TransactionGroupToSend.md#transactions) | ||
|
||
## Properties | ||
|
||
### sendParams | ||
|
||
• `Optional` **sendParams**: `Omit`<`Omit`<[`SendTransactionParams`](types_transaction.SendTransactionParams.md), ``"maxFee"``\>, ``"skipSending"``\> | ||
|
||
Any parameters to control the semantics of the send to the network | ||
|
||
#### Defined in | ||
|
||
[src/types/transaction.ts:68](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/transaction.ts#L68) | ||
|
||
___ | ||
|
||
### signer | ||
|
||
• `Optional` **signer**: [`SendTransactionFrom`](../modules/types_transaction.md#sendtransactionfrom) | ||
|
||
Optional signer to pass in, required if at least one transaction provided is just the transaction, ignored otherwise | ||
|
||
#### Defined in | ||
|
||
[src/types/transaction.ts:72](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/transaction.ts#L72) | ||
|
||
___ | ||
|
||
### transactions | ||
|
||
• **transactions**: (`Transaction` \| [`TransactionToSign`](types_transaction.TransactionToSign.md))[] | ||
|
||
The list of transactions to send, which can either be a raw transaction (in which case signer is required) or the transaction with its signer | ||
|
||
#### Defined in | ||
|
||
[src/types/transaction.ts:70](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/transaction.ts#L70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters