A contract's viewing key methods.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

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

Type declaration

  • Optional address?: string

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