Skip to content

Add API call to get account & token balances #64

@Goro2030

Description

@Goro2030

It would be great if the user could get an account balance in rBTC, and also the tokens balance, providing the contract address.

I currently do this through Blockscout, but lately, they have not been updating their database, and the results are "old" results.

Get rBTC balance:
https://blockscout.com/rsk/mainnet/api?module=account&action=balance&address=0x2

Get BPRO balance:
https://blockscout.com/rsk/mainnet/api?module=account&action=tokenbalance&contractaddress=0x440cd83c160de5c96ddb20246815ea44c7abbca8&address=0x2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions