PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/xrpl/dist/npm/src/models/methods
Просмотр файла: ripplePathFind.d.ts
import { Amount, Path } from '../common';
import { BaseRequest, BaseResponse, LookupByLedgerRequest } from './baseMethod';
export interface SourceCurrencyAmount {
currency: string;
issuer?: string;
}
export interface RipplePathFindRequest extends BaseRequest, LookupByLedgerRequest {
command: 'ripple_path_find';
source_account: string;
destination_account: string;
destination_amount: Amount;
send_max?: Amount;
source_currencies?: SourceCurrencyAmount[];
}
export interface RipplePathFindPathOption {
paths_computed: Path[];
source_amount: Amount;
}
export interface RipplePathFindResponse extends BaseResponse {
result: {
alternatives: RipplePathFindPathOption[];
destination_account: string;
destination_currencies: string[];
destination_amount: Amount;
full_reply?: boolean;
id?: number | string;
ledger_current_index?: number;
source_account: string;
validated: boolean;
};
}
//# sourceMappingURL=ripplePathFind.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!