Skip to content

Commit

Permalink
chore: up
Browse files Browse the repository at this point in the history
  • Loading branch information
iosh committed Sep 9, 2024
1 parent 64a8bb0 commit 01b6d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/pages/docs/contract/writeContract.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ For example, the `mint` function name below requires a **tokenId** argument, and
import { account, walletClient } from "./client";
import { Abi } from "./abi";

const { request } = await walletClient.writeContract({
const { request } = await publicClient.simulateContract({
address: "0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2",
abi: Abi,
functionName: "mint",
Expand Down

0 comments on commit 01b6d63

Please sign in to comment.