@swaptoshi/dex-module
Version:
Klayr decentralized exchange (dex) on-chain module
31 lines • 833 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.quotePriceEndpointRequestSchema = exports.quotePriceEndpointResponseSchema = void 0;
exports.quotePriceEndpointResponseSchema = {
$id: '/dex/endpoint/response/quote_price',
type: 'object',
required: ['price', 'pair'],
properties: {
price: {
dataType: 'uint32',
fieldNumber: 1,
},
pair: {
dataType: 'string',
fieldNumber: 2,
},
},
};
exports.quotePriceEndpointRequestSchema = {
$id: '/dex/endpoint/request/quote_price',
type: 'object',
required: ['path'],
properties: {
path: {
dataType: 'string',
format: 'hex',
fieldNumber: 1,
},
},
};
//# sourceMappingURL=quote_price.js.map