SendQuery

Send Query

post

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.

Authorizations
Body
addressstringRequired

Address in any format

bodystringRequired

b64-encoded boc-serialized cell with message body

init_codestringOptional

b64-encoded boc-serialized cell with init-code

Default: ""
init_datastringOptional

b64-encoded boc-serialized cell with init-data

Default: ""
Responses
200
Successful Response
application/json
post
POST /sendQuery HTTP/1.1
Host: ton.nownodes.io
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 70

{
  "address": "text",
  "body": "text",
  "init_code": "text",
  "init_data": "text"
}
{
  "ok": true,
  "result": "text",
  "error": "text",
  "code": 1
}