UNPKG

@dfinity/oisy-wallet-signer

Version:

A library designed to facilitate communication between a dApp and the OISY Wallet on the Internet Computer.

24 lines (23 loc) 895 B
import * as z from 'zod'; export declare const IcrcAccountSchema: z.ZodObject<{ owner: z.ZodEffects<z.ZodString, string, string>; subaccount: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>; }, "strict", z.ZodTypeAny, { owner: string; subaccount?: string | undefined; }, { owner: string; subaccount?: string | undefined; }>; export type IcrcAccount = z.infer<typeof IcrcAccountSchema>; export declare const IcrcAccountsSchema: z.ZodArray<z.ZodObject<{ owner: z.ZodEffects<z.ZodString, string, string>; subaccount: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>; }, "strict", z.ZodTypeAny, { owner: string; subaccount?: string | undefined; }, { owner: string; subaccount?: string | undefined; }>, "many">; export type IcrcAccounts = z.infer<typeof IcrcAccountsSchema>;