Skip to content

Commit f6eb15e

Browse files
authored
Merge pull request #70 from ton-blockchain/feat/clarify-messages-order-handling
feat: clarify message ordering behavior
2 parents eb0343c + 1ad8fed commit f6eb15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

requests-responses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ Where `<transaction-payload>` is JSON string with following properties:
309309
* `valid_until` (integer, optional): unix timestamp. after th moment transaction will be invalid.
310310
* `network` (NETWORK, optional): The network (mainnet or testnet) where DApp intends to send the transaction. If not set, the transaction is sent to the network currently set in the wallet, but this is not safe and DApp should always strive to set the network. If the `network` parameter is set, but the wallet has a different network set, the wallet should show an alert and DO NOT ALLOW TO SEND this transaction.
311311
* `from` (string in raw or friendly format, optional) - The sender address from which DApp intends to send the transaction. If not set, wallet allows user to select the sender's address at the moment of transaction approval. If `from` parameter is set, the wallet should DO NOT ALLOW user to select the sender's address; If sending from the specified address is impossible, the wallet should show an alert and DO NOT ALLOW TO SEND this transaction.
312-
* `messages` (array of messages): 1-4 outgoing messages from the wallet contract to other accounts. All messages are sent out in order, however **the wallet cannot guarantee that messages will be delivered and executed in same order**.
312+
* `messages` (array of messages): 1 to wallet's `maxMessages` outgoing messages from the wallet contract to other accounts. All messages MUST be sent within a single external message and processed by the wallet contract in the provided order, however **the wallet cannot guarantee that messages will be delivered and executed in the same order by the recipient contracts**.
313313

314314
Message structure:
315315
* `address` (string): message destination in user-friendly format

0 commit comments

Comments
 (0)