Skip to content

Commit

Permalink
feat: support uniswap called web3_clientVersion method
Browse files Browse the repository at this point in the history
  • Loading branch information
q20274982 committed Jan 10, 2024
1 parent 4ea8a07 commit 2d374ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/blocto-sdk/src/providers/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ export default class EthereumProvider
return this.loadSwitchableNetwork(payload?.params || []);
}
case 'eth_blockNumber':
case 'web3_clientVersion':
case 'eth_call': {
const response = await this.handleReadRequests(payload);
if (!response || (response && !response.result && response.error)) {
Expand Down

0 comments on commit 2d374ca

Please sign in to comment.