ecash-agora
Version:
Library for interacting with the eCash Agora protocol
15 lines • 471 B
TypeScript
import * as chronik from 'chronik-client';
import { OutPoint, TxInput } from 'ecash-lib';
import { AgoraOneshot } from './oneshot.js';
type ParsedAdVariant = {
type: 'ONESHOT';
params: AgoraOneshot;
};
export interface ParsedAd extends ParsedAdVariant {
outpoint: OutPoint;
txBuilderInput: TxInput;
spentBy: OutPoint | undefined;
}
export declare function parseAgoraTx(tx: chronik.Tx): ParsedAd | undefined;
export {};
//# sourceMappingURL=ad.d.ts.map