You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The account_balances RPC method should accept a list of contract addresses (on the DAppChain) as input. eth and loom should be accepted as aliases for the built-in contracts, eth will be resolved to ethcoin, and loom to coin.
The RPC method should:
Retrieve all the account mappings from the address mapper contract.
For each account mapping query how many tokens the DAppChain account has for each of the specified contracts.
Return a plain JSON response containing all the balances in this format:
Aside from eth and loom the contract addresses in the response should be the foreign address, this means the input contract addresses will need to be mapped to a foreign address via the contract mappings stored in the gateway contract.
The text was updated successfully, but these errors were encountered:
The
account_balances
RPC method should accept a list of contract addresses (on the DAppChain) as input.eth
andloom
should be accepted as aliases for the built-in contracts,eth
will be resolved toethcoin
, andloom
tocoin
.The RPC method should:
eth
andloom
the contract addresses in the response should be the foreign address, this means the input contract addresses will need to be mapped to a foreign address via the contract mappings stored in the gateway contract.The text was updated successfully, but these errors were encountered: