Skip to content

Show Native Balance on Contract Detail Page #48

Description

@libai0610

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions