UNPKG

ecash-agora

Version:

Library for interacting with the eCash Agora protocol

19 lines 746 B
import { BroadcastConfig } from 'ecash-wallet'; /** * Optional finalization wait for agora methods that build and broadcast txs. */ export interface AgoraBroadcastParams { /** * If set to a positive number, use Chronik's broadcastAndFinalizeTx(s) and wait * for Avalanche finalization for up to this many seconds before returning. * If omitted, use broadcastTx(s) and return after the tx(s) are accepted to mempool. * * Requires chronik-client >= 4.1.0. */ finalizationTimeoutSecs?: number; } /** * Build ecash-wallet {@link BroadcastConfig} from agora broadcast params. */ export declare const toBroadcastConfig: (params: AgoraBroadcastParams) => BroadcastConfig; //# sourceMappingURL=broadcast.d.ts.map