rubic-sdk
Version:
Simplify dApp creation
28 lines (27 loc) • 641 B
TypeScript
export interface ChangenowSwapRequestBody {
fromCurrency: string;
toCurrency: string;
fromNetwork: string;
toNetwork: string;
fromAmount: string;
address: string;
flow: string;
payload?: {
integratorAddress: string;
};
}
export interface ChangenowSwapResponse {
id: string;
payinAddress: string;
payoutAddress: string;
flow: string;
toAmount: number;
fromAmount: number;
type: 'direct' | 'reverse';
payoutExtraId: string;
payoutExtraIdName: string;
payinExtraId: string;
payinExtraIdName: string;
refundAddress: string;
refundExtraId: string;
}