Skip to content

[Feature] Make ethereum.getBalance ENS aware #5315

Open
@alex-pakalniskis

Description

@alex-pakalniskis

Description

Developers using ethereum.getBalance() might want to reference ENS (or other) in addition to addresses

let balance = ethereum.getBalance(
    Address.fromString("0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045")
);

or

let balance = ethereum.getBalance(
    Address.fromString("vitalik.eth")
);

Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.

No response

Some information to help us out

  • Tick this box if you plan on implementing this feature yourself.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions