Skip to content

Commit e2f9add

Browse files
committed
Add information about id
1 parent 5e4c3aa commit e2f9add

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/develop/dapps/asset-processing/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ main();
178178
7. Service should regularly poll the [getTransactions](https://toncenter.com/api/v2/#/transactions/get_transactions_getTransactions_get) method for the `wallet` contract. Matching confirmed transactions with the outgoing payments by (`destination_address`, `value`, `comment`) allows to mark payments as finished; detect and show the user the corresponding transaction hash and lt (logical time).
179179
8. Requests to `v3` of `high-load` wallets have an expiration time equal to 60 seconds by default. After that time unprocessed requests can be safely resent to the network (see steps 3-6).
180180

181+
### Get transaction id
182+
183+
It can be unclear that to get more information on transaction user must scan blockchain through [getTransactions](https://toncenter.com/api/v2/#/transactions/get_transactions_getTransactions_get) function.
184+
It is impossible to retrieve the transaction ID immediately after sending a message, as the transaction must first be confirmed by the blockchain network.
185+
To understand required pipeline read [Send payments](https://docs.ton.org/develop/dapps/asset-processing/#send-payments) carefully, especially 7th point.
186+
181187
## Invoice-based approach
182188
To accept payments based on attached comments, the service should
183189
1. Deploy the `wallet` contract.
@@ -469,6 +475,7 @@ if __name__ == "__main__":
469475

470476
</TabItem>
471477
</Tabs>
478+
</Tabs>
472479

473480
### Toncoin Withdrawals (Send toncoins)
474481

0 commit comments

Comments
 (0)