holaplex / indexer

Index Solana data using a Geyser plugin (downstream service cluster)
https://holaplex.com
GNU Affero General Public License v3.0
169 stars 39 forks source link

New GQL endpoint for requesting multiple walletProfiles at a time #514

Closed kristianeboe closed 2 years ago

kristianeboe commented 2 years ago

In the new messages page I end up with a potentially long list of pubkeys/addresses that have sent me a message. I could just do an api call to the "wallet" query endpoint pr address, but I would rather give the whole list and get a list of profiles back. If the address does not have twitter attached to it, just return the address.

Everything must be "in-order" :)

Something like

{
  wallet(s)?(addresses:[
    "aaaa",
    "bbbb"
  ]) {
    address
    profile {
      handle
      profileImageUrlLowres
    }
  }
}