Up to 50% Off on Your First Month

Subscribe by April 30th with a credit card and save big!

Sale bannerSale banner

Last updated on January 1, 1970

1 min read

Method /sendBoc Ton (TON)
connect with JSON-RPC protocol

/sendBoc

info-circle-fill

Send serialized boc file fully packed and serialized external messageto blockchain.

Parameters

boc - body

string

serialized boc file, b64 encoded bag of cells

Request

curl --location --request POST 'https://ton.getblock.io/mainnet/rest//sendBoc?' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{}'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}