Skip to content

Commit

Permalink
listen for events
Browse files Browse the repository at this point in the history
  • Loading branch information
fengfengaihuohuo committed Jul 6, 2022
1 parent 66bc3ab commit 9732db2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/web3-core/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ export interface AbstractProvider {
send?(payload: JsonRpcPayload, callback: (error: Error | null, result?: JsonRpcResponse) => void): void;
request?(args: RequestArguments): Promise<any>;
connected?: boolean;
on?(eventName:string,callback:Function):void;
}

export type provider =
Expand Down

0 comments on commit 9732db2

Please sign in to comment.