Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_gas_oracle does not work #7

Open
jakamele opened this issue Oct 22, 2022 · 1 comment
Open

get_gas_oracle does not work #7

jakamele opened this issue Oct 22, 2022 · 1 comment

Comments

@jakamele
Copy link

print(matic.get_gas_oracle()) returns:
AttributeError: 'SyncClient' object has no attribute 'get_gas_oracle'

while
print(matic.get_matic_balance(0xmyadress))
works fine

ideas?

@tarsil
Copy link
Owner

tarsil commented Feb 25, 2023

Sorry for the delay. I don't get notifications for some reason. That is indeed weird but I also believe it's because their API doesn't have that? The client only uses what they provide.

In this case, that function was not yet added to the modules (accounts) and apparently is new compared to the time I built this one.

Feel free to open a PR with that new functionality so we can add it in a new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@tarsil @jakamele and others