var m=Object.create;var r=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var P=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var l=(t,o)=>{for(var e in o)r(t,e,{get:o[e],enumerable:!0})},s=(t,o,e,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of x(o))!h.call(t,n)&&n!==e&&r(t,n,{get:()=>o[n],enumerable:!(i=v(o,n))||i.enumerable});return t};var b=(t,o,e)=>(e=t!=null?m(P(t)):{},s(o||!t||!t.__esModule?r(e,"default",{value:t,enumerable:!0}):e,t)),k=t=>s(r({},"__esModule",{value:!0}),t);var w={};l(w,{scanTransaction:()=>u});module.exports=k(w);var c=b(require("axios"),1);var a=require("react"),f=require("react/jsx-runtime"),I=(0,a.createContext)(void 0),p="production";var d=p==="development"?"https://qa-api-v2.bandit.network/sdk":"https://api-v2.bandit.network/sdk";var u=async(t,o)=>{try{return(await c.default.post(`${d}/transaction/scan`,o,{headers:{"X-API-KEY":t}})).data}catch(e){throw e}};0&&(module.exports={scanTransaction});
