Transactions
call
Getting Started
Smart Contracts
API Libaries
- JavaScript Libraries
- Postman
API Playground
- JSON-RPC Overview
- Addresses
- Blocks
- Transactions
- Gas and Fee
- Txpool
- Debug
- Net
- Miner
- Other
- Conversion
Transactions
call
Executes a new message call without creating a transaction on chain.
POST
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
}
Body
application/json
Response
200 - application/json
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
}