@goat-sdk/plugin-betswirl
Version:
<div align="center"> <a href="https://github.com/goat-sdk/goat">
2 lines (1 loc) • 373 B
JavaScript
import{d as t}from"./chunk-3NOEXPMQ.mjs";import{a as e}from"./chunk-YSXGDEY5.mjs";import{createTool as s}from"@goat-sdk/core";import{z as r}from"zod";function b(o,a){return s({name:"betswirl_getBet",description:"Get a bet from its hash.",parameters:r.object({hash:r.string().describe("The bet hash")})},async i=>await t(o,i.hash,a))}e(b,"createGetBetTool");export{b as a};