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
- Send a BOC to the TON network
- Submit smart contract messages
- Facilitate network transactions
Constraints
- Requires a valid BOC
- Depends on node connectivity
- Only processes valid formats
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request GET \
--url 'https://ton.drpc.org/rest/rest/sendBoc' \
--header 'accept: application/json' \
--data '{
"boc": "te6cckEBAQEAAjz+9wAAMABBBIAgAAZL0AAdBGdZnYDAAUGdD59VAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAABAcAA=="
}'
Response
200
{
"status": "success",
"transactionId": "0:abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdef",
"message": "BOC sent successfully."
}
Request params
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.