1.5.3 + User App Queries, Mutations and Subscriptions

 

(Valid for UserApp version 1.5.3)

URL for Playground https://dev.wizwiz.io/graphql

You can know more about GraphQL in Marionette in this video

Queries:

query KYCDocumentTypes { KYCDocumentTypes }
query GetNonCustodialCurrencies { currencies { id name precision icon_url markets(nonCustodialExchangeEnabled: true) { id rate commission_currency base_currency_id minBaseCurrencyAmount base_currency { id name precision icon_url userBalanceEnable currencyPaymentInterfaces(userWithdrawEnabled: true) { type paymentInterface { id title subtitle logoUrl } } } quote_currency { id name precision icon_url userBalanceEnable currencyPaymentInterfaces(userWithdrawEnabled: true) { type paymentInterface { id title subtitle logoUrl } } } quote_currency_id minQuoteCurrencyAmount rate buy_commission buy_max_commission buy_min_commission sell_commission sell_max_commission sell_min_commission enable_non_custodial_exchange swapBaseToQuotePricePrecision swapQuoteToBasePricePrecision } currencyPaymentInterfaces(userDepositEnabled: true) { paymentInterfaceId type paymentInterface { id title logoUrl subtitle blockchain { id name description explorer_address chainId wallet } } userDepositEnable userWithdrawEnable } } }

 

query GetPublicTradesHistory($market: String) { publicTrades(market: $market) { result { price amount createdAt } } }

 

 

 

Mutations:

Subscriptions: