QmPZ2Wv4gW2yW5C9Rb5DQEcd5MoP7ELgpXaaTQAULQWU6m
Location | Action| Object | Time
Chrome | Enter | https://www.apirequest.io/ | 1
https://www.apirequest.io - URL drop down box | Select| POST | 11
https://www.apirequest.io - URL field | Enter | | 15
https://ropsten.infura.io
https://www.apirequest.io - Request Body | Enter | | 20
{"jsonrpc":"2.0","method":"eth_call","params":[{"from":"0xEA9a7c7cD8d4Dc3acc6f0AaEc1506C8D6041a1c5","to":"0x01848a2cFc60d5b24EB6630F12048C1825059AfC","data":"0x3b668059"},"latest"],"id":67}
https://www.apirequest.io | Click | Send One | 23
The goal is to see how to interact via RPC calls.
Call the function ContractBalance to get the balance of a smart contract (from previous example).
Expected result:
{
"jsonrpc": "2.0",
"id": 67,
"result": "0x00000000000000000000000000000000000000000000000002b4c77783338000"
}