Function callReadOnlyFunction

  • Calls a function as read-only from a contract interface It is not necessary that the function is defined as read-only in the contract

    Returns

    Parameters

    • readOnlyFunctionOptions: ReadOnlyFunctionOptions

      the options object

      Returns an object with a status bool (okay) and a result string that is a serialized clarity value in hex format.

    Returns Promise<ClarityValue>

Generated using TypeDoc