/** * TON Chain Adapter * * Builds TON blockchain transactions using Cell/BoC serialization, * attaches Ed25519 signatures from the FROST threshold signing * network, and broadcasts via TON Center API. * * Requires: npm install @ton/ton */ import { ChainAdapter, TonTransaction } from '../core/types'; export declare class TonAdapter implements ChainAdapter { private rpcUrl; private network; private tonSdk; constructor(network?: 'mainnet' | 'testnet', rpcUrl?: string); getRpcUrl(): string; /** * Build an unsigned TON transaction. * * TON uses Cell tree serialization. The signing payload is the * SHA-256 hash of the external message body cell. */ buildTransaction(tx: TonTransaction, fromAddress: string, publicKey?: string): Promise; getSigningPayload(unsignedTx: string): string; /** * Attach an Ed25519 signature to the TON transaction */ attachSignature(unsignedTx: string, signature: string): Promise; /** * Broadcast a signed TON transaction */ broadcast(signedTx: string): Promise; /** * Get TON balance in nanotons */ getBalance(address: string): Promise; } export declare function createTonAdapter(rpcUrl?: string): TonAdapter; export declare function createTonTestnetAdapter(rpcUrl?: string): TonAdapter; //# sourceMappingURL=ton.d.ts.map