/** * Solana Chain Adapter * * Builds Solana transactions, attaches Ed25519 signatures generated * by the FROST threshold signing network, and broadcasts via * @solana/web3.js Connection. */ import { ChainAdapter, SolTransaction } from '../core/types'; export declare class SolanaAdapter implements ChainAdapter { private connection; private rpcUrl; /** Optional: Solana address to receive Sequence0 service fee (30% of compute cost) */ private feeAddress?; constructor(network?: 'mainnet' | 'devnet', rpcUrl?: string, feeAddress?: string); getRpcUrl(): string; /** * Build an unsigned Solana transaction * * Creates a SOL transfer instruction, fetches recent blockhash, * and serializes the message for Ed25519 signing via FROST. * * @returns base64-encoded unsigned transaction message */ buildTransaction(tx: SolTransaction, fromAddress: string): Promise; /** * Extract the signing payload (message bytes) from the unsigned transaction */ getSigningPayload(unsignedTx: string): string; /** * Attach an Ed25519 signature from FROST to the Solana transaction */ attachSignature(unsignedTx: string, signature: string): Promise; /** * Broadcast a signed Solana transaction * * @returns transaction signature (hash) */ broadcast(signedTx: string): Promise; /** * Get SOL balance in lamports */ getBalance(address: string): Promise; /** Get SOL balance in SOL (human-readable) */ getBalanceSol(address: string): Promise; /** Get recent block height */ getSlot(): Promise; /** Get transaction details */ getTransaction(signature: string): Promise; /** Confirm transaction */ confirmTransaction(signature: string): Promise; } export declare function createSolanaAdapter(rpcUrl?: string): SolanaAdapter; export declare function createSolanaDevnetAdapter(rpcUrl?: string): SolanaAdapter; //# sourceMappingURL=solana.d.ts.map