import i from"axios";import{createContext as a,useMemo as c}from"react";import{jsx as x}from"react/jsx-runtime";var m=a(void 0),o="production";var e=o==="development"?"https://qa-api-v2.bandit.network/sdk":"https://api-v2.bandit.network/sdk";var w=async(n,r)=>{try{return(await i.post(`${e}/transaction/scan`,r,{headers:{"X-API-KEY":n}})).data}catch(t){throw t}};export{w as scanTransaction};
