@okutrade/account-api
Version:
TypeScript client for OKU Account API using Connect-ES
60 lines (59 loc) • 2.04 kB
JavaScript
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=.js"
// @generated from file gfxcafe/oku/account/v1/rewards.proto (package gfxcafe.oku.account.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import { MethodKind } from "@bufbuild/protobuf";
/**
* RewardsService provides rewards data
*
* @generated from service gfxcafe.oku.account.v1.RewardsService
*/
export const RewardsService = {
typeName: "gfxcafe.oku.account.v1.RewardsService",
methods: {
/**
* Get Solv protocol rewards (/rewards/solv/{chain}/{timestamp})
*
* @generated from rpc gfxcafe.oku.account.v1.RewardsService.SolvChainTimestamp
*/
solvChainTimestamp: {
name: "SolvChainTimestamp",
I: SolvChainTimestampRequest,
O: SolvChainTimestampResponse,
kind: MethodKind.Unary,
},
/**
* Get Bedrock rewards (/rewards/bedrock/{chain}/{timestamp})
*
* @generated from rpc gfxcafe.oku.account.v1.RewardsService.BedrockChainTimestamp
*/
bedrockChainTimestamp: {
name: "BedrockChainTimestamp",
I: BedrockChainTimestampRequest,
O: BedrockChainTimestampResponse,
kind: MethodKind.Unary,
},
/**
* Get general rewards data (/rewards/{chain}/{timestamp})
*
* @generated from rpc gfxcafe.oku.account.v1.RewardsService.ChainTimestamp
*/
chainTimestamp: {
name: "ChainTimestamp",
I: ChainTimestampRequest,
O: ChainTimestampResponse,
kind: MethodKind.Unary,
},
/**
* Get user volume data (/rewards/volume/{chain})
*
* @generated from rpc gfxcafe.oku.account.v1.RewardsService.VolumeChain
*/
volumeChain: {
name: "VolumeChain",
I: VolumeChainRequest,
O: VolumeChainResponse,
kind: MethodKind.Unary,
},
}
};