From 6c22817c53952cdbe589556bf1e79e13b7d20708 Mon Sep 17 00:00:00 2001 From: 0xFirekeeper <0xFirekeeper@gmail.com> Date: Thu, 4 Apr 2024 02:51:33 +0300 Subject: [PATCH] typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0607deb..1acf3ea 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ using Thirdweb; var client = new ThirdwebClient(secretKey: secretKey); // Interact with a contract -var contract = new ThirdwebContract(contractOptions); -var readResult = await ThirdwebContract.ReadContract(client: client, address: "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D", chain: 1, abi: "function name() view returns (string)"); +var contract = new ThirdwebContract(client: client, address: "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D", chain: 1, abi: "function name() view returns (string)"); +var readResult = await ThirdwebContract.ReadContract(contract, "name"); Console.WriteLine($"Contract read result: {readResult}"); // Or directly interact with the RPC