Skip to main content
POST
/
v2
/
blockchain
/
message
cURL
curl --request POST \
  --url https://tonapi.io/v2/blockchain/message \
  --header 'Content-Type: application/json' \
  --data '
{
  "boc": "<string>",
  "batch": [
    "<string>"
  ],
  "meta": {}
}
'
{
  "error": "<string>",
  "error_code": 123
}

Body

application/json

both a single boc and a batch of boc serialized in base64/hex are accepted

boc
string<cell>
batch
string<cell>[]
Maximum array length: 5
meta
object

Response

the message has been sent