← Back to documents
A magnifying glass over the hinge of a small brass gate, with four bronze-colored tokens beside it.

How to check TRC-20 token approvals before and after signing

Read an approve request in your TRON wallet, check the token, spender and limit, then look up or revoke allowances you no longer need.

Lunaria Miri Energy

Identify what the wallet is asking you to do

A wallet connection lets the app read your selected account and make requests. Review message signatures carefully, too. If the wallet shows a TRC-20 approve call, it is asking to set a spending allowance for the specified spender on that token. Once the allowance is in place, the spender can use transferFrom within the remaining allowance, subject to the token contract’s rules, without a new signature from you for each transfer. A direct token transfer uses transfer.

Check four details before you sign

Check the signing account, token contract, spender and allowance in the wallet request. Look beyond the token symbol and the button on the website. Check the spender against documentation for the app you meant to use and match the allowance to the task. If an unlimited allowance is unnecessary, choose an amount that covers the action you intend to take.

Before signing an approve request, look up the remaining allowance for your account, the same token contract and the same spender. If both the current and proposed allowances are nonzero, first submit a transaction to set the allowance to zero. Follow the steps below to verify that the transaction is solidified, that it succeeded and that the allowance is zero. Then decide whether to grant the new allowance. If you do, verify it the same way. A direct update could let the spender use the old allowance before the update and the new one after it.

Suppose you only meant to send USDT directly, but your wallet asks you to approve a third party to spend it. Cancel the signature request and check the action again from a trusted entry point. Cancel if the details are unclear or you cannot verify them.

Look up and revoke an existing allowance

An on-chain allowance can remain after you close the site or disconnect the wallet. In a trusted wallet’s approval manager or a trusted block explorer, look up the remaining allowance for your account, token contract and spender.

After submitting an approval or revocation, use the original transaction ID to look up the solidified receipt and check that the execution status is SUCCESS (receipt.result). If the token contract declares a Boolean return value for approve, also check that the contract returned true. Then look up the allowance for the same account, token contract and spender to see whether it matches the intended value.

A receipt showing OUT_OF_ENERGY means execution failed. If the solidified receipt is temporarily unavailable, the outcome is still unknown. Keep checking the original transaction ID. Don’t sign again or pay twice based on a single lookup that returns no receipt.

To revoke an allowance you no longer need, set it to zero and use the steps above to verify that the current allowance is zero. Revocation only affects that allowance. It cannot reverse completed transfers.

References