Submit and Track 📡
Submit a signed transaction to the network and wait for the official receipt.
It’s liftoff time! 🚀
We take our signed transaction and broadcast it to the entire VeChainThor network using sendTransaction.
The network will immediately give you a Transaction ID. This is your tracking number!
But wait—just because it's sent doesn't mean it's finished. We need to wait for a block to include it.
We use waitForTransaction to 'listen' until the network provides a Transaction Receipt.
The receipt is the final word. It tells you if the transaction was successful or if it reverted (failed). It even contains logs and events triggered by your clauses!
Check your receipt! If reverted is false, you've successfully changed the state of the blockchain. You’re a master of transactions!
Common Pitfalls to Avoid: Never share your private key while signing! Also, remember that a "sent" transaction isn't "final" until you have the receipt.
Join our Telegram