eth_call
Executes a new message call immediately without creating a transaction on the block chain. Often used for executing read-only smart contract functions, for example the balanceOf for an ERC-20 contract
Last updated
curl https://rpc.adiri.tel \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_call","params":[{
"to":"0x4392743B97C46c6Aa186A7f3D0468fbF177ee70F",
"gas":"0x76c0",
"gasPrice":"0x0",
"value":"0x0",
"data":"0x06fdde03"},
"latest"],"id":1}'{
"jsonrpc":"2.0",
"result":"0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b54656c636f696e20415544000000000000000000000000000000000000000000", // Telcoin AUD
"id":1
}