Skip to content

Wagmi does not use Multicall batching when explicitly enabled #4856

@akshatmittal

Description

@akshatmittal

Check existing issues

Describe the bug

Title, tried with batch set and also useReadContracts.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/new-wagmi-wmvouz7g?file=src%2FApp.tsx,src%2Fwagmi.ts

Steps To Reproduce

See minimal reproduction. (Open console to check network requests, it does use Multicall address but only includes one call in the aggregate function)

What Wagmi package(s) are you using?

wagmi

Wagmi Package(s) Version(s)

2.19.2

Viem Version

2.38.6

TypeScript Version

5.9.3

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions