GetCoinInfo top-level constant

String const GetCoinInfo

Implementation

const GetCoinInfo = r'''
  query getCoinInfo($coin: String!) {
    coin_infos(
      where: {coin_type: {_eq: $coin}}
    ) {
      ...CoinInfoFields
    }
  }

  fragment CoinInfoFields on coin_infos {
    name
    decimals
    symbol
  }
''';