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

Export formatTransactionResponse utility #4849

Open
kopax opened this issue Oct 2, 2024 · 1 comment
Open

Export formatTransactionResponse utility #4849

kopax opened this issue Oct 2, 2024 · 1 comment
Labels
enhancement New feature or improvement.

Comments

@kopax
Copy link

kopax commented Oct 2, 2024

Describe the Feature

I would like to be able to format a json rpc response to ethersv6 representation

Code Example

In ethers.ts:

+ export { formatTransactionResponse } from './providers/format.js'
@kopax kopax added the enhancement New feature or improvement. label Oct 2, 2024
kopax added a commit to kopax/ethers.js that referenced this issue Oct 2, 2024
@kopax kopax changed the title Export formatTransactionResponse.ts and other utilities Export formatTransactionResponse utility Oct 2, 2024
@jasonandjay
Copy link

Now you can use provider._wrapTransactionResponse to formatTransactionResponse

It's obvious that it is an insider function!

And its better to export under providers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement.
Projects
None yet
Development

No branches or pull requests

3 participants
@kopax @jasonandjay and others