blackbull-sdk
Version:
An SDK for building applications on top of Blackbullswap
11 lines (10 loc) • 329 B
TypeScript
interface Ethereum {
send: unknown;
enable: () => Promise<string[]>;
on?: (method: string, listener: (...args: any[]) => void) => void;
removeListener?: (method: string, listener: (...args: any[]) => void) => void;
}
declare interface Window {
ethereum?: Ethereum;
}
declare const __DEV__: boolean;