Hierarchy

  • LocalViewExecution

Constructors

Properties

connection: Connection
storage: Storage

Methods

  • Parameters

    Returns Promise<{
        blockHash: string;
        blockHeight: number;
        blockTimestamp: number;
        contractCode: string;
        contractState: ContractState;
    }>

  • Calls a view function on a contract, fetching the contract code and state if needed.

    Parameters

    • options: ViewFunctionCallOptions

      Options for calling the view function.

    Returns Promise<any>

    • A promise that resolves to the result of the view function.

Generated using TypeDoc