Skip to content

Instantly share code, notes, and snippets.

@baydakovss
Last active November 21, 2022 15:08
Show Gist options
  • Save baydakovss/89d8b5d6bf2b357b220b753a7c1dcf51 to your computer and use it in GitHub Desktop.
Save baydakovss/89d8b5d6bf2b357b220b753a7c1dcf51 to your computer and use it in GitHub Desktop.
Error: `Fields "address" conflict because they have differing arguments. Use different aliases on the fields to fetch both if this was intentional.
query ($network: EthereumNetwork!,
$s_addresses: [String!],
$e_addresses: [String!]
)
{
ethereum(network: $network) {
address1: address(address: {in: $s_addresses}) {
balances(currency: {is: "0x55d398326f99059ff775485246999027b3197955"}) {
currency {
name
}
value
}
}
address2: address(address: {in: $e_addresses}) {
balances(currency: {is: "0x55d398326f99059ff775485246999027b3197955"}) {
currency {
name
}
value
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment