xud
Version:
Exchange Union Daemon
19 lines (18 loc) • 670 B
TypeScript
import { Arguments, Argv } from 'yargs';
import { ListOrdersResponse } from '../../proto/xudrpc_pb';
declare type FormattedTradingPairOrders = {
pairId: string;
orders: string[][];
};
export declare const formatOrders: (orders: ListOrdersResponse.AsObject) => FormattedTradingPairOrders[];
export declare const command = "listorders [pair_id] [owner] [limit]";
export declare const describe = "list orders from the order book";
export declare const builder: (argv: Argv) => Argv<{
pair_id: string | undefined;
} & {
owner: string;
} & {
limit: number | undefined;
}>;
export declare const handler: (argv: Arguments<any>) => Promise<void>;
export {};