1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Add eth_feeHistory to safe method list (#11999)

So that we can expose this method to dapps.
This commit is contained in:
Dan Finlay 2021-09-02 10:26:32 -07:00 committed by GitHub
parent cce623f5b6
commit 2df159841a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@ export const SAFE_METHODS = [
'eth_coinbase', 'eth_coinbase',
'eth_decrypt', 'eth_decrypt',
'eth_estimateGas', 'eth_estimateGas',
'eth_feeHistory',
'eth_gasPrice', 'eth_gasPrice',
'eth_getBalance', 'eth_getBalance',
'eth_getBlockByHash', 'eth_getBlockByHash',