Skip to main content

Network / Chain Information

RPC Methods

Wallets must support the following JSON-RPC methods over WalletConnect sessions. No events are required.

ton_sendMessage

Submit one or more transaction messages to the TON network.

Request

Example Request

Success Response

The base64bocEncodedTransaction in the result is a base64 encoded BOC (Bag of Cells) of an external message.

Example: Building an External-In Message

Error Response

ton_signData

Sign an off-chain payload (text, binary, or cell) for authentication or verification by dApps.

Request

Example Request

Success Response

Error Response

Notes & Considerations

  • If from is omitted, the wallet should prompt the user to select an address.
  • All requests and responses must comply with JSON-RPC structure (id, jsonrpc, etc.).
  • Signature verification can be done using ed25519.verify on the original bytes.
  • stateInit support is needed when your wallet supports contract deployment flows.
  • The domain field in responses indicates the originating application (dApp) domain.