mud
mud copied to clipboard
add indexer support to `getRecord` util
Currently getRecord always reads via a eth RPC call. We should add an optional indexerUrl param to read from the indexer instead.
https://github.com/latticexyz/mud/blob/f1e008f2d2a7ba2369a07f9807a7ee0cd1b3b20c/packages/store/ts/getRecord.ts#L14-L24
or better yet we could infer this from client.chain.indexerUrl
Gm! May I please pick this up? 🙂