Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

make URL endpoint configurable#28

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
cgumpert wants to merge1 commit intopcko1:master
base:master
Choose a base branch
Loading
fromcgumpert:configurable-endpoint

Conversation

@cgumpert
Copy link

Allow users to change the endpoint URL which would make this library also useful for other chains (e.g. BSC).

@dylmanning
Copy link

dylmanning commentedApr 17, 2022
edited
Loading

I thought about this also, but other chain *scan.io services don't provide the full suite of methods etherscan does. For example If I were to usearbiscan.io as the endpoint methods such asget_contract_execution_status will cause errors as it as not been implemented fromarbiscan.iohttps://arbiscan.io/apis#transactions

I think endpoints should be supported and hardcoded, as have the testnets; but with compatibility flags on each method

I would not expect this to be too much extra work to execute this

txnhash = "0x15f8e5ea1079d9a0bb04a4c58ae5fe7654b5b2b4463375ff7ffb490aa0032f3a"eth = Etherscan(api_key=API_KEY, net='Arbitrum')eth.get_contract_execution_status(txnhash=txnhash)>>> NotImplementedError

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@cgumpert@dylmanning

[8]ページ先頭

©2009-2025 Movatter.jp