lightrail-client
Version:
A Javascript and Typescript client for Lightrail
15 lines (14 loc) • 458 B
TypeScript
import { Transaction, TransactionDestination, TransferSource } from "../../model";
import { LightrailResponse } from "../LightrailResponse";
export interface TransferParams {
id: string;
source: TransferSource;
destination: TransactionDestination;
amount: number;
currency: string;
simulate?: boolean;
allowRemainder?: boolean;
metadata?: object;
}
export interface TransferResponse extends LightrailResponse<Transaction> {
}