var x=Object.create;var a=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var P=(t,o)=>{for(var e in o)a(t,e,{get:o[e],enumerable:!0})},d=(t,o,e,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of b(o))!l.call(t,n)&&n!==e&&a(t,n,{get:()=>o[n],enumerable:!(r=v(o,n))||r.enumerable});return t};var u=(t,o,e)=>(e=t!=null?x(h(t)):{},d(o||!t||!t.__esModule?a(e,"default",{value:t,enumerable:!0}):e,t)),w=t=>d(a({},"__esModule",{value:!0}),t);var k={};P(k,{getBatPrice:()=>g,getSageTransactions:()=>f});module.exports=w(k);var c=u(require("axios"),1);var s=require("react"),A=require("react/jsx-runtime"),B=(0,s.createContext)(void 0);var p="https://solana-api.bandit.network/api";var f=async(t,o,e,r,n,m)=>{try{let{data:i}=await c.default.post(`${p}/transaction`,{holderAddress:t,curiousMintAddress:o,dabblerMintAddress:e,degenMintAddress:r,serializedMintTransaction:n,isSolGas:m});return i}catch(i){throw i}},g=async()=>{try{let{data:t}=await c.default.get(`${p}/price?from=SOL&to=BAT`);return t}catch(t){throw t}};0&&(module.exports={getBatPrice,getSageTransactions});
