Interface ContractProvider

interface ContractProvider {
    external(message): Promise<void>;
    get(name, args): Promise<ContractGetMethodResult>;
    getState(): Promise<ContractState>;
    getTransactions(address, lt, hash, limit?): Promise<Transaction[]>;
    internal(via, args): Promise<void>;
    open<T>(contract): OpenedContract<T>;
}

Methods

  • Parameters

    • via: Sender
    • args: {
          body?: Maybe<string | Cell>;
          bounce?: Maybe<boolean>;
          sendMode?: SendMode;
          value: string | bigint;
      }
      • Optional body?: Maybe<string | Cell>
      • Optional bounce?: Maybe<boolean>
      • Optional sendMode?: SendMode
      • value: string | bigint

    Returns Promise<void>