@multiversx/sdk-dapp-swap
Version:
A library to hold the main logic for swapping between tokens on the MultiversX blockchain
3 lines (2 loc) • 421 B
JavaScript
import{a as n}from"./chunk-656XSZ7E.js";import{a as p}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:i,isLoading:t}=p({query:n,queryOptions:{client:r}});return{unwrapEgld:i,isUnwrapEgldLoading:t}};export{d as a};
//# sourceMappingURL=chunk-2BTM3ZP3.js.map