UNPKG

venice-ai-sdk-apl

Version:

A comprehensive SDK for the Venice AI API with CLI support, programmatic CLI usage, CLI-style interface, and interactive demo

25 lines (24 loc) 708 B
/** * VVV Staking Yield Resource * * This module provides methods for interacting with the VVV Staking Yield API. */ import { BaseResource } from '../base-resource'; import { VVVStakingYieldResponse } from '../../types/vvv'; /** * VVV Staking Yield Resource */ export declare class VVVStakingYieldResource extends BaseResource { /** * Gets the current staking yield of VVV * * @returns Promise that resolves with the staking yield information * * @example * ```typescript * const response = await venice.vvv.stakingYield(); * console.log(`Current APY: ${response.current_apy}%`); * ``` */ getStakingYield(): Promise<VVVStakingYieldResponse>; }