@okutrade/account-api
Version:
TypeScript client for OKU Account API using Connect-ES
31 lines (27 loc) • 930 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/tokens.proto (package gfxcafe.oku.account.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import { ChainAddressRequest, ChainAddressResponse } from "./tokens_pb.js";
import { MethodKind } from "@bufbuild/protobuf";
/**
* TokensService provides token information and metadata
*
* @generated from service gfxcafe.oku.account.v1.TokensService
*/
export const TokensService = {
typeName: "gfxcafe.oku.account.v1.TokensService",
methods: {
/**
* Get token details by chain and address (/tokens/{chain}/{address})
*
* @generated from rpc gfxcafe.oku.account.v1.TokensService.ChainAddress
*/
chainAddress: {
name: "ChainAddress",
I: ChainAddressRequest,
O: ChainAddressResponse,
kind: MethodKind.Unary,
},
}
} as const;