Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: the web3.js getBlock APIs now accept
rewards
and `transaction…
…Details` config (solana-labs#29000) * Add `transactionDetails` and `rewards` params to `getBlock` API of web3.js * Add the same content to the legacy call …because it's such a PITA to share config between two methods and not have Typedoc throw a fit. * Add tests to exercise block deserialization in the case that `transactionDetails` is `none` or `accounts` * Extract the annotated account key parser into a separate struct * Parse the `getBlock()` responses differently depending on the mode
- Loading branch information