Type alias WithdrawPayloadType

WithdrawPayloadType: {
    address: string;
    amount: string;
    apiEndpoint: string | URL;
    apiToken: string;
    currency: "NATIVE" | "HOPR";
    timeout?: number;
}

withdraw

Type declaration

  • address: string
  • amount: string
  • apiEndpoint: string | URL

    The API endpoint for authentication.

  • apiToken: string

    The API token for authentication.

  • currency: "NATIVE" | "HOPR"
  • Optional timeout?: number

    optional timeout for the requests