Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RewardsClient

Index

Constructors

Properties

Methods

Constructors

Properties

PROGRAM_ID: PublicKey = ...

Methods

  • connect(provider: default): Promise<Program<RewardsIdl>>
  • Create a new client for interacting with the Jet rewards program

    memberof

    RewardsClient

    Parameters

    • provider: default

      The provider with wallet/network access that can be used to send transactions.

    Returns Promise<Program<RewardsIdl>>

    The program

  • use(provider: undefined | default): undefined | Program<RewardsIdl>
  • React hook to use the rewards program

    static
    memberof

    RewardsClient

    Parameters

    • provider: undefined | default

    Returns undefined | Program<RewardsIdl>

    The program

Generated using TypeDoc