Contract read actions with Foundry/Anvil #379
Answered
by
tmm
davebryson
asked this question in
Question
-
How do you get access to read actions on a contract with I can create a WalletClient which gives me contract write actions, but how do you get read actions? I tried creating a public client with foundry set as the chain, but passing it to getContract results in a |
Beta Was this translation helpful? Give feedback.
Answered by
tmm
Apr 15, 2023
Replies: 1 comment 1 reply
-
Looks like a TypeScript error. Can you share the full error and a minimal reproducible example? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jxom
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like a TypeScript error. Can you share the full error and a minimal reproducible example?