import n from"axios";import{createContext as c,useMemo as v}from"react";import{jsx as l}from"react/jsx-runtime";var b=c(void 0);var e="https://solana-api.bandit.network/api";var C=async(t,r,a,i,s,p)=>{try{let{data:o}=await n.post(`${e}/transaction`,{holderAddress:t,curiousMintAddress:r,dabblerMintAddress:a,degenMintAddress:i,serializedMintTransaction:s,isSolGas:p});return o}catch(o){throw o}},S=async()=>{try{let{data:t}=await n.get(`${e}/price?from=SOL&to=BAT`);return t}catch(t){throw t}};export{S as getBatPrice,C as getSageTransactions};
