PageSourceSearch

https://realmint.io/assets/getErc20TokenInfo-DbtzIFm0-CU_Xuk1S.js

js realmint.io collected 2026-10-05 07:11:06 UTC 647 bytes, 1 lines download raw bytes

1import{c as l,h as o,dm as p}from"./usePrivy-DyyEMsbu-ASy2XScR.js";const m=async({address:a,chain:e,rpcConfig:i,privyAppId:s})=>{try{let t=l({chain:e,transport:o(p(e,i,s))}),[r,c]=await Promise.all([t.readContract({abi:n,address:a,functionName:"symbol"}),t.readContract({abi:n,address:a,functionName:"decimals"})]);return{decimals:c,symbol:r}}catch(t){return console.log(t),null}};let n=[{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{m as a};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.