Open shmuel-web opened 3 years ago
maybe something like this but with more explainers
async function start(){
try{
const res = await aggregate([{
target: '0xbbf289d846208c16edc8474705c748aff07732db',
method: 'what()',
returns: [['foo']],
returnTypes: ['uint256']
}], config)
console.log({res})
} catch (err){
console.error(err)
}
}
start()
Hi
thanks for open-sourcing this project
could you add a short and simple example of using "aggregate" to batch calls
thanks