@web3-wallets-kit/types
Version:
Package for connecting with Ethereum wallets for dApp
16 lines (15 loc) • 379 B
TypeScript
declare module '@web3-wallets-kit/for-third-library-definitions' {
type Provider = any;
interface JsonRpcPayload {
jsonrpc?: string;
method: string;
params?: any[];
id?: string | number;
}
interface JsonRpcResponse {
jsonrpc: string;
id: number;
result?: any;
error?: string;
}
}