sendBoc method sends a serialized bag-of-cells (BoC) to the TON blockchain. This is the primary method for submitting signed transactions to the network.
Start for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
There’s no difference between a full node an archive node in data availability or pricing. All data is always available and all node requests are consumed as 1 request unit.
Request body
boc(string, required) — The serialized bag-of-cells in base64 format. This contains the signed external message to be sent to the blockchain.
JSON-RPC
Response
-
ok(boolean) — Whether the operation was successful. -
result(object) — The result of the operation. Contains:@type(string) — The type of the result, typicallyokfor successful submissions.@extra(string) — Extra information about the operation.
Use case
ThesendBoc method is essential for any application that needs to send transactions to the TON blockchain:
- Wallet applications use this to broadcast user-signed transactions.
- Smart contract deployment tools send compiled contracts to the network.
- DApps submit user interactions with smart contracts.
- Automated trading bots execute trades on DEXs.
- Token transfer services broadcast transfer transactions.
Body
application/json
boc
string
default:te6ccgEBAgEAqwAB4YgBVbC7Hu+g3htYXzst8L5ucV76NMzeBK3URJKebN2Y1kwADRfFu/r0HxgrOp/Iml8Li5x4gR10J5XYFS8z0fMWJ6JPeUF5xNSLrSDGFIqhJqkW1SEYQF8Dw5p4dI3oaFs4LCmpoxdkfKw0AAAAGAAcAQBoQgAwwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL68=
required
The serialized bag-of-cells in base64 format