Contract detail page should not use /api/plugin/evm/accounts to fetch balance, because that endpoint intentionally excludes smart contracts.
Example:
https://explorer.heima.network/contract/0xca36550d30e2E4dF927c53C3a5272A319D427602
This contract has EVM transactions and an evm_accounts mapping, but /api/plugin/evm/accounts returns empty because contracts are filtered out with evm_contracts.address IS NULL.
Please add/use a contract-compatible balance source for the contract detail page. The page should show the current native balance of the contract, including 0 HEI when the latest chain balance is zero.
Contract detail page should not use
/api/plugin/evm/accountsto fetch balance, because that endpoint intentionally excludes smart contracts.Example:
https://explorer.heima.network/contract/0xca36550d30e2E4dF927c53C3a5272A319D427602
This contract has EVM transactions and an evm_accounts mapping, but
/api/plugin/evm/accountsreturns empty because contracts are filtered out withevm_contracts.address IS NULL.Please add/use a contract-compatible balance source for the contract detail page. The page should show the current native balance of the contract, including
0 HEIwhen the latest chain balance is zero.