Using a Custom Transport with MetaMask #1223
Replies: 3 comments 2 replies
-
I also tried the above with |
Beta Was this translation helpful? Give feedback.
-
works for me: https://stackblitz.com/edit/viem-getting-started-qtccnn?file=index.ts |
Beta Was this translation helpful? Give feedback.
-
Hi @jxom Can you please try a code sample to interact with a Contract using Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi I am trying to use Viem to read a contract.
I am using a custom
transport
with the Provider (window.ethereum) from Metamask, but unable to get my code to work.Here is my code sample and the error.
Is this the correct usage with a custom Transport object ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions