Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EIP1193EventMap

type EIP1193EventMap = {
accountsChanged(accounts: Address[]): void;
chainChanged(chainId: string): void;
connect(connectInfo: {
chainId: string;
}
): void;
disconnect(error: {
code: number;
message: string;
}
): void;
message(message: {
type: string;
data: unknown;
}
): void;
}
;

§Type

§
{
accountsChanged(accounts: Address[]): void;
chainChanged(chainId: string): void;
connect(connectInfo: {
chainId: string;
}
): void;
disconnect(error: {
code: number;
message: string;
}
): void;
message(message: {
type: string;
data: unknown;
}
): void;
}
[src]