Tracking unstake requests
This section describes how to tarck unstake requests.
Monitor Events on the Blockchain
The unstake request process typically involves sending a transaction to the smart contract that initiates the unstaking. The contract may emit events (messages) related to the Unstake Request, which can be tracked on the blockchain. Look for events such as:
OP::UNSTAKE
: When the Unstake Request is initiated, a message with theOP::UNSTAKE
operation code will be sent. This message will contain details about the unstake request, such as the amount of TON and jettons to be unstaked, the owner's address, and the index of the request.
Invoke
get_unstake_data()
method in Unstake Request contract. By invoking this method you can retrieve the details of an unstake request. When Unstake Request sends message to Financial withOP::UNSTAKE
it setsunlock_timestamp
equal to0
.
Last updated