Send query - unpacked external message. This method takes address, body and init-params (if any), packs it to external message and sends to network. All params should be boc-serialized.
cURL
curl --request POST \ --url https://toncenter.com/api/v2/sendQuery \ --header 'Content-Type: application/json' \ --data '{ "address": "<string>", "body": "<string>", "init_code": "", "init_data": "" }'
{ "ok": true, "result": "<string>", "error": "<string>", "code": 123 }
Address in any format
b64-encoded boc-serialized cell with message body
b64-encoded boc-serialized cell with init-code
b64-encoded boc-serialized cell with init-data
Successful Response