Executes a new message call without creating a transaction on chain.
curl --request POST \
--url https://rpc.quai.network/cyprus1/ \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "quai_call",
"params": [
{
"from": "0x02E4dD4F66E018fD2bddf57467D4bB359D72b705",
"to": "0x0864B3aab87584b337a92aB1fCfCcf6dad2463Db",
"gas": "0x5208",
"value": "0x10F2C",
"data": "0x"
},
"latest"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"result": "0x",
"id": 1
}
Successful response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://rpc.quai.network/cyprus1/ \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "quai_call",
"params": [
{
"from": "0x02E4dD4F66E018fD2bddf57467D4bB359D72b705",
"to": "0x0864B3aab87584b337a92aB1fCfCcf6dad2463Db",
"gas": "0x5208",
"value": "0x10F2C",
"data": "0x"
},
"latest"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"result": "0x",
"id": 1
}
Executes a new message call without creating a transaction on chain.
curl --request POST \
--url https://rpc.quai.network/cyprus1/ \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "quai_call",
"params": [
{
"from": "0x02E4dD4F66E018fD2bddf57467D4bB359D72b705",
"to": "0x0864B3aab87584b337a92aB1fCfCcf6dad2463Db",
"gas": "0x5208",
"value": "0x10F2C",
"data": "0x"
},
"latest"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"result": "0x",
"id": 1
}
Successful response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://rpc.quai.network/cyprus1/ \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "quai_call",
"params": [
{
"from": "0x02E4dD4F66E018fD2bddf57467D4bB359D72b705",
"to": "0x0864B3aab87584b337a92aB1fCfCcf6dad2463Db",
"gas": "0x5208",
"value": "0x10F2C",
"data": "0x"
},
"latest"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"result": "0x",
"id": 1
}