Skip to main content

POST /query

Performs a vm query on a given smart contract and returns its results

Parameters

  • {} - object to query

Example

Request

curl -X 'POST' \
'https://api.elrond.com/query' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '{"username":"astro"}'

Result

{
"statusCode": 500,
"message": "Internal server error"
}