UNPKG

@libra-opensource/client-sdk-typescript

Version:
10 lines (9 loc) 423 B
import { DiemHRP } from '../interfaces/types'; export default class Intent { readonly hrp: DiemHRP; readonly address: string; readonly subAddress?: string | undefined; readonly currency?: "XUS" | "XDX" | undefined; readonly amount?: number | undefined; constructor(hrp: DiemHRP, address: string, subAddress?: string | undefined, currency?: "XUS" | "XDX" | undefined, amount?: number | undefined); }