web3p / web3.php

A php interface for interacting with the Ethereum blockchain and ecosystem. Native ABI parsing and smart contract interactions.
MIT License
1.16k stars 542 forks source link

eth_getFeeHistory #235

Closed ccerrillo closed 2 years ago

ccerrillo commented 2 years ago

Hi, Seems that this method is not allowed, it throws "Unallowed rpc method: eth_getFeeHistory"

samyan commented 2 years ago

The problem is not come from this library. The problem maybe from the source from where you try to call.

ccerrillo commented 2 years ago

I'm using infura and it seems that it's supported: https://infura.io/docs/ethereum#operation/eth_feeHistory

samyan commented 2 years ago

https://community.infura.io/t/support-for-eth-feehistory/3220

Maybe is documented but its not implemented yet.

ccerrillo commented 2 years ago

You're right, i checked it with curl and got an error too