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

web3.js: Add transactionDetails config to getBlock #28999

Closed
steveluscher opened this issue Nov 30, 2022 · 1 comment · Fixed by #29000
Closed

web3.js: Add transactionDetails config to getBlock #28999

steveluscher opened this issue Nov 30, 2022 · 1 comment · Fixed by #29000
Labels
web3.js Related to the JavaScript client

Comments

@steveluscher
Copy link
Contributor

Problem

This code throws:

await connection.getBlock(164000050, {
  maxSupportedTransactionVersion: 0,
  transactionDetails: 'none'
});

Proposed Solution

Implement the missing config.

@ProfMoo
Copy link

ProfMoo commented Dec 2, 2022

@steveluscher Just pulled in the new version 1.68.0 and it works great :). Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web3.js Related to the JavaScript client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants