@agentek/tools
Version:
Blockchain tools for AI agents
18 lines • 538 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.swapTools = swapTools;
const client_js_1 = require("../client.js");
const intents_js_1 = require("./intents.js");
/**
* Export an array of tools for Matcha-based swaps.
*/
function swapTools({ zeroxApiKey, }) {
const tools = [];
if (zeroxApiKey) {
tools.push((0, intents_js_1.createMatchSwapTool)({
zeroxApiKey,
}));
}
return (0, client_js_1.createToolCollection)(tools);
}
//# sourceMappingURL=index.js.map