Skip to content
LogoLogo
import {  } from './viem.config'
 
// Viem batches the concurrent reads into a single multicall.
const [, ] = await .([
  ..({ : 'usdc' }),
  ..({ : 'treasury.wevm.eth' }),
])
 
const  = await ..({
  : .,
  ,
  : 'usdc',
})
{
value: 1250000000n,
formatted: '1250',
receipt: { status: 'success', ... },
}