Variable OpenChannelPayloadConst

OpenChannelPayload: ZodObject<{
    amount: ZodString;
    apiEndpoint: ZodUnion<[ZodString, ZodCustom<URL, URL>]>;
    apiToken: ZodString;
    destination: ZodString;
    timeout: ZodOptional<ZodNumber>;
}, $strip> = ...

Open channel

Type declaration

  • amount: ZodString
  • apiEndpoint: ZodUnion<[ZodString, ZodCustom<URL, URL>]>

    The API endpoint for authentication.

  • apiToken: ZodString

    The API token for authentication.

  • destination: ZodString
  • timeout: ZodOptional<ZodNumber>

    optional timeout for the requests