Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat: support Etherscan beacon withdrawal transactions #2621

Merged
merged 3 commits into from
Oct 18, 2023
Merged

feat: support Etherscan beacon withdrawal transactions #2621

merged 3 commits into from
Oct 18, 2023

Conversation

heueristik
Copy link
Contributor

Motivation

The Etherscan API supports querying Beacon Chain Withdrawals by Address and Block Range since the Capella hardfork. However, this method is not supported by ethers-etherscan yet.

Solution

This PR adds the fn get_beacon_withdrawal_transactions and struct BeaconWithdrawalTransaction type.

PR Checklist

  • Added Tests
  • Added Documentation

@heueristik heueristik changed the title feat: support etherscan beacon withdrawal transaction queries feat: support Etherscan beacon withdrawal transactions Oct 2, 2023
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, ty

@heueristik heueristik requested a review from mattsse October 2, 2023 17:35
@DaniPopes DaniPopes merged commit 976f38c into gakonst:master Oct 18, 2023
19 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants