@bitte-ai/agent-sdk
Version:
Agent SDK for Bitte Protocol
35 lines (34 loc) • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.amountParam = exports.addressOrSymbolParam = exports.addressParam = exports.chainIdParam = void 0;
exports.chainIdParam = {
name: "chainId",
in: "query",
required: true,
description: "EVM Network (aka chain ID)",
schema: { type: "number" },
example: 100,
};
exports.addressParam = {
name: "address",
in: "query",
required: true,
description: "20 byte Ethereum address with 0x prefix",
schema: { type: "string" },
};
exports.addressOrSymbolParam = {
name: "address",
in: "query",
required: true,
description: "The ERC-20 token symbol or address to be sold, if provided with the symbol do not try to infer the address.",
schema: { type: "string" },
example: "0x6810e776880c02933d47db1b9fc05908e5386b96",
};
exports.amountParam = {
name: "amount",
in: "query",
required: true,
description: "Amount in human-readable units (not wei)",
schema: { type: "number" },
example: 0.123,
};