jcc-call-utils
Version:
Toolkit of crossing chain from Call chain to SWTC chain
24 lines (23 loc) • 405 B
TypeScript
interface IAmount {
currency: string;
value: string;
}
interface IMemo {
type: "payment";
format: "plain/text";
data: string;
}
interface ISource {
address: string;
maxAmount: IAmount;
}
interface IDestination {
address: string;
amount: IAmount;
}
export default interface IPayment {
source: ISource;
destination: IDestination;
memos: IMemo[];
}
export {};