Skip to content

Commit 47ae6c3

Browse files
committed
Update changeset for 2769
1 parent 4b75f66 commit 47ae6c3

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

.changes/added/2769.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
1-
Added a new `assembleTx` GraphQL endpoint.
2-
The endpoint can be used to assemble the transaction based on the provided requirements.
1+
Added a new `assembleTx` GraphQL endpoint. The endpoint can be used to assemble the transaction based on the provided requirements.
32

4-
The returned transaction contains:
5-
- Input coins to cover `required_balances`
6-
- Input coins to cover the fee of the transaction based on the gas price from `block_horizon`
7-
- `Change` or `Destroy` outputs for all assets from the inputs
8-
- `Variable` outputs in the case they are required during the execution
9-
- `Contract` inputs and outputs in the case they are required during the execution
10-
- Reserved witness slots for signed coins filled with `64` zeroes
11-
- Set script gas limit(unless `script` is empty)
12-
- Estimated predicates, if `estimate_predicates == true`
3+
- The returned transaction contains:
4+
- Input coins to cover `required_balances`
5+
- Input coins to cover the fee of the transaction based on the gas price from `block_horizon`
6+
- `Change` or `Destroy` outputs for all assets from the inputs
7+
- `Variable` outputs in the case they are required during the execution
8+
- `Contract` inputs and outputs in the case they are required during the execution
9+
- Reserved witness slots for signed coins filled with `64` zeroes
10+
- Set script gas limit(unless `script` is empty)
11+
- Estimated predicates, if `estimate_predicates == true`
1312

14-
Returns an error if:
15-
- The number of required balances exceeds the maximum number of inputs allowed.
16-
- The fee address index is out of bounds.
17-
- The same asset has multiple change policies(either the receiver of
18-
the change is different, or one of the policies states about the destruction
19-
of the token while the other does not). The `Change` output from the transaction
20-
also count as a `ChangePolicy`.
21-
- The number of excluded coin IDs exceeds the maximum number of inputs allowed.
22-
- Required assets have multiple entries.
23-
- If accounts don't have sufficient amounts to cover the transaction requirements in assets.
24-
- If a constructed transaction breaks the rules defined by consensus parameters.
13+
- Returns an error if:
14+
- The number of required balances exceeds the maximum number of inputs allowed.
15+
- The fee address index is out of bounds.
16+
- The same asset has multiple change policies(either the receiver of
17+
the change is different, or one of the policies states about the destruction
18+
of the token while the other does not). The `Change` output from the transaction
19+
also count as a `ChangePolicy`.
20+
- The number of excluded coin IDs exceeds the maximum number of inputs allowed.
21+
- Required assets have multiple entries.
22+
- If accounts don't have sufficient amounts to cover the transaction requirements in assets.
23+
- If a constructed transaction breaks the rules defined by consensus parameters.

0 commit comments

Comments
 (0)