Skip to content

feat: add EIP1559 tx type support #827

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: add EIP1559 tx type support #827

wants to merge 1 commit into from

Conversation

Ansonhkg
Copy link
Collaborator

WHAT

add EIP 1559 support

  • If gasPrice, maxFeePerGas, and maxPriorityFeePerGas are all undefined -> fetch fee data
  • If EIP-1559 supported, then populate maxFeePerGas, maxPriorityFeePerGas, and set type = 2
  • if not supported, then fall back to getPrice
  • always use manual values if set

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

Successfully merging this pull request may close these issues.

1 participant