UNPKG

@multiversx/sdk-dapp-swap

Version:

A library to hold the main logic for swapping between tokens on the MultiversX blockchain

3 lines (2 loc) 417 B
import{a as p}from"./chunk-4JI5FETV.js";import{a as i}from"./chunk-M3EOZ6NB.js";import{b as o}from"./chunk-4XMIBGR3.js";import{f as e}from"./chunk-5W737WN4.js";e();var d=()=>{let{client:r}=o();if(!r)throw new Error("Swap GraphQL client not initialized");let{execute:t,isLoading:n}=i({query:p,queryOptions:{client:r}});return{wrapEgld:t,isWrapEgldLoading:n}};export{d as a}; //# sourceMappingURL=chunk-4AG7CBNO.js.map