A contract's viewing key methods.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

connection?: Connection
instance?: {
    address?: string;
}

Type declaration

  • Optional address?: string
log: Console

Methods

  • Create a random viewing key.

    Parameters

    • entropy: string = ...

    Returns Promise<Uint8Array>

  • Execute a transaction on the specified instance as the specified Connection.

    Parameters

    • message: Message
    • options: {
          execFee?: IFee;
          execMemo?: string;
          execSend?: ICoin[];
      } = {}
      • Optional execFee?: IFee
      • Optional execMemo?: string
      • Optional execSend?: ICoin[]

    Returns Promise<unknown>

  • Execute a query on the specified instance as the specified Connection.

    Type Parameters

    • Q

    Parameters

    Returns Promise<Q>

  • Set a user-specified viewing key.

    Parameters

    • key: string

    Returns Promise<unknown>

Generated using TypeDoc