Add ChainID to the jsonRpcService getBalance Methods #20873
Labels
feature/web3/wallet
Integrating Ethereum+ wallet support
OS/Desktop
priority/P3
The next thing for us to work on. It'll ride the trains.
QA/No
release-notes/exclude
Milestone
Description
For multi chain support we will need to get balances for all visible tokens on each network.
Currently it will only return a balance of a token for the current
Selected Network
and is being handled in the backend.If we could do something similar to what was implemented here brave/brave-core#11791
and allow to pass in a
ChainID
for thegetBalance
,getERC20TokenBalance
andgetERC721TokenBalance
methods in thejsonRpcService
.Update: As discussed in slack we’ll modify those chain ids with “solana:” prefix to have no prefix. And then anywhere that asks for chain id we’ll also ask for CoinType. And for Filecoin we’ll just have chain_id as an empty string. Any API will have two required parameters, CoinType and then ChainId
The text was updated successfully, but these errors were encountered: