The BetSwirl plugin offers a seamless way to interact with the BetSwirl betting platform through GOAT. It includes tools for placing bets on games and retrieving bets information. The plugin ensures that all interactions are validated and processed securely, providing agents with a reliable betting experience.
npm install @goat-sdk/plugin-betswirl
yarn add @goat-sdk/plugin-betswirl
pnpm add @goat-sdk/plugin-betswirl
import { betswirl } from '@goat-sdk/plugin-betswirl';
const tools = await getOnChainTools({
wallet: // ...
plugins: [
betswirl(process.env.THEGRAPH_API_KEY) // Optional TheGraph API Key (rate limits applies). Get one from https://thegraph.com/studio/apikeys/
]
});
- Flip a Coin
- Roll a Dice
- Spin a Roulette
- Get bets