[Go to site: main page, start]

sendBoc - Ton

sendBoc. Sends a Binary Object Container (BOC) to the TON blockchain, allowing for the execution of smart contracts or other operations that require BOC data.

sendBoc - ton [Value: 100CU]
Sends a Binary Object Container (BOC) to the TON blockchain, allowing for the execution of smart contracts or other operations that require BOC data.
Use cases
Use cases
  • Send a BOC to the TON network
  • Submit smart contract messages
  • Facilitate network transactions
Constraints
Constraints
  • Requires a valid BOC
  • Depends on node connectivity
  • Only processes valid formats
Get started
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request GET \
     --url 'https://lb.drpc.live/ton/{API-KEY}rest/sendBoc' \
     --header 'accept: application/json' \
     --data '{
         "boc": "te6cckEBAQEAAjz+9wAAMABBBIAgAAZL0AAdBGdZnYDAAUGdD59VAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAABAcAA=="
    }'
Copy
Response
200
{
    "status": "success",
    "transactionId": "0:abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdef",
    "message": "BOC sent successfully."
}
Copy
Path params
Parameters
Query params
Parameters
Request params
Parametersstring
string
bocstring
Encoded bag of cells
Response
200
Response params
object
statusstring
Indicates the status of the request.
transactionIdstring
The unique identifier of the transaction.
messagestring
A message detailing the result of the operation.