It would be helpful if the getSessions call could accept an optional parameter that allows filtering of the sessions currently in storage.
The idea came about when thinking about a UI that wanted to only display sessions for a specific chain. If the getSessions call could accept an parameter of chainId, the developer could pass in a specific chainId and the call would only return sessions from that chain.
It would be helpful if the
getSessions
call could accept an optional parameter that allows filtering of the sessions currently in storage.The idea came about when thinking about a UI that wanted to only display sessions for a specific chain. If the
getSessions
call could accept an parameter ofchainId
, the developer could pass in a specific chainId and the call would only return sessions from that chain.