Class TonClientV2

Constructors

Properties

Methods

  • Run get method on smart contract. You get a parsed stack in the response.

    Parameters

    • address: Address
    • method: string
    • stack: TupleItem[]

    Returns Promise<{
        gas_used: number;
        stack: TupleReader;
    }>

  • Check if contract is deployed.

    Parameters

    • address: Address

    Returns Promise<boolean>

  • Open smart contract.

    Type Parameters

    • T extends Contract

    Parameters

    • contract: T

    Returns OpenedContract<T>

  • Create provider.

    Parameters

    • address: Address
    • Optional init: null | StateInit

    Returns ContractProvider

Generated using TypeDoc