import{dt as e}from"./useActiveWallet-CEs8euQ3.js";import{i as t,n}from"./_esm.js";var r=async({address:r,chain:a,rpcConfig:o,privyAppId:s})=>{try{let c=t({chain:a,transport:n(e(a,o,s))}),[l,u]=await Promise.all([c.readContract({abi:i,address:r,functionName:`symbol`}),c.readContract({abi:i,address:r,functionName:`decimals`})]);return{decimals:u,symbol:l}}catch(e){return console.log(e),null}},i=[{inputs:[],name:`decimals`,outputs:[{internalType:`uint8`,name:``,type:`uint8`}],stateMutability:`view`,type:`function`},{inputs:[],name:`symbol`,outputs:[{internalType:`string`,name:``,type:`string`}],stateMutability:`view`,type:`function`}];export{r as t};