Collected sources and patterns will appear here. Add from search, explore, or the patterns library.
TransactionContext -> (TRC10TokenID, TRC10TokenValue)
Extract and validate the native TRC10 token ID and value from the TRON transaction context.
Problem it solves
TRON-native TRC10 tokens are sent along with the transaction call, requiring explicit ID and value validation to avoid zero-value or incorrect token exploits.
Consumes
Emits
The real projects this mechanism was found in. Attribution is the point — this is how the best teams actually do it.