Closed 0xp3gasus closed 2 years ago
Fixes #231 (issue)
curl --location --request POST 'http://localhost:80/eth/testnet/erc20/rpc' \ --header 'Content-Type: application/json' \ --data-raw '{ "params": { "addresses": [ "0xf1d153a64c509ac54e09d5821e08486356e39816" ], "contractAddresses": [ "0x5F1f5039f95c347eB37fB650BC33800cEf5C99Ef", "0x8626db1a4f9f3e1002eeb9a4f3c6d391436ffc23", "0x61A41e578500F2f62810a14B0B449391E511aeb8", "0xba9ca9560FAaD32b8672f2c9a714fFe3BD48acF3", "0x43ddB3468C4B9fCb9fF8F8C64AfEC7d4a7D30f59", "0xa176a2e1B0b9C9291365efFC02c5602CbbEBeBC8", "0x2A7cb24cC11B29B7EaE6715Fc038B6A2Bc63Ac2D", "0x28D420B4fF0cB8750B94bafe51A272c297Bd91a6", "0xABE547E86F7063BBf4e2DDd22CAABb2a16004537", "0x1528C5e977FAC36B31136bD27cb7da4C5598537F" ] }, "method": "getAddressesBalance", "id": 1, "jsonrpc": "2.0" }'
{ "id": 1, "jsonrpc": "2.0", "result": { "0x5F1f5039f95c347eB37fB650BC33800cEf5C99Ef": [ { "address": "0xf1d153a64c509ac54e09d5821e08486356e39816", "balance": { "confirmed": "50000000", "unconfirmed": "0" } } ], "0x8626db1a4f9f3e1002eeb9a4f3c6d391436ffc23": [ { "address": "0xf1d153a64c509ac54e09d5821e08486356e39816", "balance": { "confirmed": "74372630000000000", "unconfirmed": "0" } } ], "0x61A41e578500F2f62810a14B0B449391E511aeb8": [ { "address": "0xf1d153a64c509ac54e09d5821e08486356e39816", "balance": { "confirmed": "0", "unconfirmed": "0" } } ], "0xba9ca9560FAaD32b8672f2c9a714fFe3BD48acF3": [ { "address": "0xf1d153a64c509ac54e09d5821e08486356e39816", "balance": { "confirmed": "0", "unconfirmed": "0" } } ], "0x43ddB3468C4B9fCb9fF8F8C64AfEC7d4a7D30f59": [ { "address": "0xf1d153a64c509ac54e09d5821e08486356e39816", "balance": { "confirmed": "0", "unconfirmed": "0" } } ], "0xa176a2e1B0b9C9291365efFC02c5602CbbEBeBC8": [ { "address": "0xf1d153a64c509ac54e09d5821e08486356e39816", "balance": { "confirmed": "0", "unconfirmed": "0" } } ], "0x2A7cb24cC11B29B7EaE6715Fc038B6A2Bc63Ac2D": [ { "address": "0xf1d153a64c509ac54e09d5821e08486356e39816", "balance": { "confirmed": "0", "unconfirmed": "0" } } ], "0x28D420B4fF0cB8750B94bafe51A272c297Bd91a6": [ { "address": "0xf1d153a64c509ac54e09d5821e08486356e39816", "balance": { "confirmed": "0", "unconfirmed": "0" } } ], "0xABE547E86F7063BBf4e2DDd22CAABb2a16004537": [ { "address": "0xf1d153a64c509ac54e09d5821e08486356e39816", "balance": { "confirmed": "0", "unconfirmed": "0" } } ], "0x1528C5e977FAC36B31136bD27cb7da4C5598537F": [ { "address": "0xf1d153a64c509ac54e09d5821e08486356e39816", "balance": { "confirmed": "0", "unconfirmed": "0" } } ] } }
Test Configuration:
cat /etc/os-release
uname -sr
uname -m
Docs PR related # Other PR related #
Description
Fixes #231 (issue)
Dependencies (if any)
Type of change
How Has This Been Tested?
Test Configuration:
cat /etc/os-release
): macOs 12.5uname -sr
): Darwin 21.6.0uname -m
): x86_64Related PR or Docs PR
Docs PR related # Other PR related #
Good practices to consider