AddressSelector Type should be an array?

Hi, I’m loving the API in general, thank you for your hard work!

I want to query a few addresses at once but am unable to do this because the in field of the AddressSelector is a String, rather than a [String].

This is the type of query I’m trying to perform:

bitcoin(network: $network) {
    inbound: coinpath(initialAddress: {in: ['a', 'b']},) {
      ...
  }
}
     

And here is a screenshot of the definition:

Should the in and notIn fields actually be [String]?

1 Like

Thanks we have raised with the dev team

2 Likes

This is solved, please check.

Continued on AddressSelector Type is a String, but should be an Array

This is solved

{
  bitcoin(network: bitcoin) {
    inputs(
      inputAddress: {in: ["18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX", "34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo"]}
    ) {
      value
      inputAddress{
        address
      }
    }
  }
}
1 Like