@okutrade/account-api
Version:
TypeScript client for OKU Account API using Connect-ES
41 lines (40 loc) • 1.53 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/orders.proto (package gfxcafe.oku.account.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import { MethodKind } from "@bufbuild/protobuf";
/**
* OrdersService provides trading and quote functionality
*
* Note: /orders/simple_swap/* endpoints are handled by SimpleSwapService
* Note: /orders/history/* endpoints are handled by OrderHistoryService
*
* @generated from service gfxcafe.oku.account.v1.OrdersService
*/
export const OrdersService = {
typeName: "gfxcafe.oku.account.v1.OrdersService",
methods: {
/**
* Generate execution information for a market order (/canoe_market/{marketId})
*
* @generated from rpc gfxcafe.oku.account.v1.OrdersService.CanoeMarketMarketId
*/
canoeMarketMarketId: {
name: "CanoeMarketMarketId",
I: CanoeMarketMarketIdRequest,
O: CanoeMarketMarketIdResponse,
kind: MethodKind.Unary,
},
/**
* Get a price quote for a market order (/canoe_quote/market/{marketId})
*
* @generated from rpc gfxcafe.oku.account.v1.OrdersService.CanoeQuoteMarketMarketId
*/
canoeQuoteMarketMarketId: {
name: "CanoeQuoteMarketMarketId",
I: CanoeQuoteMarketMarketIdRequest,
O: CanoeQuoteMarketMarketIdResponse,
kind: MethodKind.Unary,
},
}
};