Constructors
constructor
- new StashedPopup(
__namedParameters: {
name: string;
network: StashedSupportedNetwork;
origin?: string;
},
): StashedPopup Parameters
- __namedParameters: { name: string; network: StashedSupportedNetwork; origin?: string }
Methods
close
- close(): void
Returns void
send
- send<T extends "connect" | "sign-transaction-block" | "sign-personal-message">(
__namedParameters: { type: T } & (
| Extract<{ type: "connect" }, { type: T }>
| Extract<
{ address: string; data: string; type: "sign-transaction-block" },
{ type: T },
>
| Extract<
{ address: string; bytes: string; type: "sign-personal-message" },
{ type: T },
>
),
): Promise<StashedResponseTypes[T]> Type Parameters
- T extends "connect" | "sign-transaction-block" | "sign-personal-message"
Parameters
- __namedParameters: { type: T } & (
| Extract<{ type: "connect" }, { type: T }>
| Extract<
{ address: string; data: string; type: "sign-transaction-block" },
{ type: T },
>
| Extract<
{ address: string; bytes: string; type: "sign-personal-message" },
{ type: T },
>
)
Returns Promise<StashedResponseTypes[T]>