Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/clarinet/index.ts>Chain#callReadOnlyFn

Write, test and deploy high-quality smart contracts to the Stacks blockchain and Bitcoin.
Latest
method Chain.prototype.callReadOnlyFn
import { Chain } from "https://deno.land/x/clarinet@v1.8.0/index.ts";

Call a read-only function

Parameters

contract: string

Address of the contract implementing the function

method: string

The read-only function to call

args: Array<string>

Arguments to pass as clarity values

sender: string

Address of the caller

Returns

The result of th