toncenter-js
    Preparing search index...

    Class TonClientV3

    Index

    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 }>

    • Get transactions

      Parameters

      • address: Address

        address

      • opts: {
            archival?: boolean;
            hash?: string;
            inclusive?: boolean;
            limit: number;
            lt?: string;
            to_lt?: string;
        }

        options

      Returns Promise<void>

    • 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
      • Optionalinit: null | StateInit

      Returns ContractProvider