Skip to content

Conversation

bh2smith
Copy link
Member

Allowing users to pass their own client.

Would be better if they just passed an RPC. Better solution coming soon.

@bh2smith bh2smith merged commit 39d6579 into main Jul 14, 2025
1 check passed
@bh2smith bh2smith deleted the optional-client branch July 14, 2025 16:27
getTokenSymbol(chainId, address),
getTokenName(chainId, address),
]);
const [decimals, symbol, name] = await rpc.multicall({
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here... without constructor args...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, think the difference is this is explicitly using it v.s. the other one is a passive optimization that automatically batches multiple contract reads if they occur.

This was erroring btw but 90% sure it was from chain object missing so the client was unsure of the multicall contract deployment address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants