kardiachain/go-kardia

Check if an address is KRC20 token

Opened this issue · 0 comments

As explorer need to detect if a new created contract is krc20/krc721 token.

Current explorer using a dummy way to detect as call KRC20 interface such as name, symbol, decimals, totalSuppy and ownerBalance, and assume the contract is KRC20.

Could you please provide a better and accurate way to check if an address is KRC20 token?