/** * Aptos Chain Adapter * * Builds Aptos Move transactions using BCS serialization, * attaches Ed25519 signatures from the FROST threshold signing * network, and broadcasts via Aptos REST API. * * Requires: npm install @aptos-labs/ts-sdk */ import { ChainAdapter, AptosTransaction } from '../core/types'; export declare class AptosAdapter implements ChainAdapter { private rpcUrl; private network; private aptosSdk; constructor(network?: 'mainnet' | 'testnet' | 'devnet', rpcUrl?: string); getRpcUrl(): string; /** * Build an unsigned Aptos transaction. * * The signing payload is SHA3-256("APTOS::RawTransaction" prefix hash + BCS-serialized RawTransaction). */ buildTransaction(tx: AptosTransaction, fromAddress: string): Promise; getSigningPayload(unsignedTx: string): string; /** * Attach an Ed25519 signature to the Aptos transaction */ attachSignature(unsignedTx: string, signature: string): Promise; /** * Broadcast a signed Aptos transaction */ broadcast(signedTx: string): Promise; /** * Get APT balance in Octas */ getBalance(address: string): Promise; } export declare function createAptosAdapter(rpcUrl?: string): AptosAdapter; export declare function createAptosTestnetAdapter(rpcUrl?: string): AptosAdapter; //# sourceMappingURL=aptos.d.ts.map