var i=(e,n,t)=>new Promise((s,p)=>{var m=o=>{try{a(t.next(o))}catch(r){p(r)}},v=o=>{try{a(t.throw(o))}catch(r){p(r)}},a=o=>o.done?s(o.value):Promise.resolve(o.value).then(m,v);a((t=t.apply(e,n)).next())});import l from"axios";import{createContext as x,useMemo as w}from"react";import{jsx as A}from"react/jsx-runtime";var f=x(void 0),d="production";var c=d==="development"?"https://qa-api-v2.bandit.network/sdk":"https://api-v2.bandit.network/sdk";var S=(e,n)=>i(void 0,null,function*(){try{return(yield l.post(`${c}/transaction/scan`,n,{headers:{"X-API-KEY":e}})).data}catch(t){throw t}});export{S as scanTransaction};
