Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
web3.js Related to the JavaScript client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants