Constructors
constructor
- new StashedPopup(__namedParameters): StashedPopup
Parameters
- __namedParameters: {
name: string;
network: StashedSupportedNetwork;
origin?: string;
}name: string
network: StashedSupportedNetwork
Optional
origin?: string
Methods
close
- close(): void
Returns void
send
- send<T>(__namedParameters): 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]>