Skip to content

Commit

Permalink
Merge pull request #2 from fengfengaihuohuo/master
Browse files Browse the repository at this point in the history
listen for events
  • Loading branch information
jimchan3301 authored Jul 14, 2022
2 parents 66bc3ab + 9732db2 commit 63b2df6
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 63b2df6

Please sign in to comment.