/** * Cardano Chain Adapter * * Builds Cardano transactions using CBOR serialization, attaches * Ed25519 signatures from the FROST threshold signing network, * and broadcasts via Blockfrost API. * * Requires: npm install @emurgo/cardano-serialization-lib-nodejs */ import { ChainAdapter, CardanoTransaction } from '../core/types'; export declare class CardanoAdapter implements ChainAdapter { private rpcUrl; private network; private cardanoWasm; private apiKey; constructor(network?: 'mainnet' | 'preprod' | 'preview', rpcUrl?: string, apiKey?: string); getRpcUrl(): string; /** * Build an unsigned Cardano transaction. * * Cardano is UTXO-based. The signing payload is * Blake2b-256(transaction_body_cbor). */ buildTransaction(tx: CardanoTransaction, fromAddress: string): Promise; getSigningPayload(unsignedTx: string): string; /** * Attach an Ed25519 signature to the Cardano transaction */ attachSignature(unsignedTx: string, signature: string, publicKey?: string): Promise; /** * Broadcast a signed Cardano transaction */ broadcast(signedTx: string): Promise; /** * Get ADA balance in lovelace */ getBalance(address: string): Promise; private fetchUtxos; } export declare function createCardanoAdapter(apiKey?: string): CardanoAdapter; export declare function createCardanoPreprodAdapter(apiKey?: string): CardanoAdapter; //# sourceMappingURL=cardano.d.ts.map