@okutrade/account-api
Version:
TypeScript client for OKU Account API using Connect-ES
31 lines (27 loc) • 923 B
text/typescript
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=.js"
// @generated from file gfxcafe/oku/account/v1/swaphistory.proto (package gfxcafe.oku.account.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import { SwapHistoryRequest, SwapHistoryResponse } from "./swaphistory_pb.js";
import { MethodKind } from "@bufbuild/protobuf";
/**
* SwapHistoryService provides swap history functionality
*
* @generated from service gfxcafe.oku.account.v1.SwapHistoryService
*/
export const SwapHistoryService = {
typeName: "gfxcafe.oku.account.v1.SwapHistoryService",
methods: {
/**
* Get the swap history for a user (/swap/history)
*
* @generated from rpc gfxcafe.oku.account.v1.SwapHistoryService.History
*/
history: {
name: "History",
I: SwapHistoryRequest,
O: SwapHistoryResponse,
kind: MethodKind.Unary,
},
}
} as const;