Function getStakingProgram

  • Get the Staking Program

    Parameters

    • __namedParameters: {
          connection: Connection;
          programId: PublicKey;
      }
      • connection: Connection
      • programId: PublicKey

    Returns Program<Idl>