We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
context.client.getEnsName
While inside an indexing function, if we use context.client to lookup an ENS Name using getEnsName, it will throw because it's not a function.
context.client
getEnsName
Function + Error:
TypeError: context.client.getEnsName is not a function at /Desktop/ponder/my-app/src/index.ts:4:38 2 | 3 | ponder.on("ExampleContract:Transfer", async ({ context }) => { > 4 | const ens = await context.client.getEnsName({ | ^ 5 | address: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045" 6 | }); 7 |
Expected result: getEnsName should return vitalik.eth
vitalik.eth
The text was updated successfully, but these errors were encountered:
viem
Successfully merging a pull request may close this issue.
While inside an indexing function, if we use
context.client
to lookup an ENS Name usinggetEnsName
, it will throw because it's not a function.Function + Error:
Expected result:
getEnsName
should returnvitalik.eth
The text was updated successfully, but these errors were encountered: