Airstack now fully index the newly deployed ERC6551 registry version 0.3.1 and 0.3.0.
Thus, now you can get all the ERC6551 accounts that is created by multiple versions of different ERC6551 registries.
Versioning
In order to differentiate the different versions of ERC6551 accounts, you can check the registry field that is returned from the API response.
Demo
Code
queryMyQuery {ethereum: Accounts(input: {blockchain: ethereum, order: {createdAtBlockTimestamp: DESC}}) { Account { implementation registry # registry can be used to indicate ERC6551 version salt standard tokenAddress tokenId updatedAtBlockNumber updatedAtBlockTimestamp address { addresses } } }polygon: Accounts(input: {blockchain: polygon, order: {createdAtBlockTimestamp: DESC}}) { Account { implementation registry # registry can be used to indicate ERC6551 version salt standard tokenAddress tokenId updatedAtBlockNumber updatedAtBlockTimestamp address { addresses } } }}