Transaction Tracking
To reliably find a transaction from an external message (external-in) in the TON blockchain, use a normalized hash instead of a regular hash. External messages may slightly alter metadata when included in the blockchain, causing regular hashes to fail in locating the transaction.
Swagger documentation for Blockchain operations can be found [here].
TypeScript
Code example for TypeScript implementation
Go
Code example for Go implementation
Use this method to reliably track, verify, or monitor transactions based on external messages.
Getting the Message object
From a BOC
You may encounter BOC strings from various sources, for example, TonConnect (specifically after methods like sendTransaction or send), or from your own transaction logs. Here's how to parse a BOC string into a Message object:
TypeScript
Code example for TypeScript implementation
Manual creation with ton/core
To manually create a Message, follow these steps:
TypeScript
Code example for TypeScript implementation
Use this method to reliably track, verify, or monitor transactions based on external messages.
How is this guide?