For the complete documentation index, see llms.txt. This page is also available as Markdown.

Query a Contract

// Query the current count
Console.WriteLine("Querying contract for current count");
await secretClient.Query.Compute.QueryContract<string>(
        contractAddress, 
        new { get_count = new { } }, 
        contractCodeHash);

Last updated

Was this helpful?