OBJECT

User

link GraphQL Schema definition

  • type User {
  • # User's first name
  • firstName: String
  • # User's last name
  • lastName: String
  • # User's email
  • email: String
  • # Get the portfolio summary for the user - startDate, endDate (ISO 8601 UTC time)
  • #
  • # Arguments
  • # startDate:
  • # endDate:
  • # timePeriod:
  • portfolio(startDate: String, endDate: String, timePeriod: TimePeriod): PortfolioConnection!
  • # Get the portfolio summary broken down by assets for each subWallet a user has in
  • # csv string format - startDate / endDate is ISO 8601 UTC timestamp, currency
  • # defaults to GBP
  • # NOTE: currently only supports ONE_MONTH_DAILY timePeriod. Could fail to get the
  • # most recent time point if the endDate timestamp is within the first 30 minutes
  • # of the current hour
  • #
  • # Arguments
  • # endDate:
  • # timePeriod:
  • # currency:
  • csvPortfolio(
  • endDate: String!,
  • timePeriod: TimePeriod!,
  • currency: String
  • ): PortfolioCsv!
  • # ONLY the wallet details (name, address etc...) and Transactions is supported.
  • #
  • # Arguments
  • # walletId: Pick the wallet by walletId
  • wallet(walletId: String!): Wallet
  • # Fast query for a single subWallet
  • # ONLY the subWallet details (name, address etc...) and Transactions is supported.
  • #
  • # Arguments
  • # subWalletId:
  • subWallet(subWalletId: String!): SubWallet
  • # Get the users wallets with balance. A Wallet can be thought of as a BIP32 HD
  • # wallet
  • # NOTE: pagination is not implemented yet - limit and nextToken are currently
  • # ignored
  • # Has API key support
  • #
  • # Arguments
  • # walletId: Optional parameter to get the wallet for the given
  • # wallet id
  • # walletType: Optional parameter to get the wallets matching the
  • # given WalletType
  • # currency: Defaults to GBP
  • # searchName: Optional parameter to get the subWallets matching
  • # the given searchName
  • # limit: Pagination limit
  • # nextToken: Pagination next token
  • wallets(
  • walletId: String,
  • walletType: WalletType,
  • currency: String,
  • searchName: String,
  • limit: Int,
  • nextToken: String
  • ): WalletConnection!
  • # Arguments
  • # subWalletId: Optional parameter to get the subWallet for the
  • # given subWalletId
  • # walletType: Optional parameter to get the subWallets matching
  • # the given WalletType
  • # currency: Defaults to GBP
  • # searchName: Optional parameter to get the subWallets matching
  • # the given searchName
  • # limit: Pagination limit
  • # nextToken: Pagination next token
  • subWallets(
  • subWalletId: String,
  • walletType: WalletType,
  • currency: String,
  • searchName: String,
  • limit: Int,
  • nextToken: String
  • ): SubWalletConnection!
  • # Users transactions in csv string, optionally can pass asset and walletId (see
  • # supported-assets docs for available assetSymbols)
  • #
  • # Arguments
  • # walletId:
  • # assetSymbols:
  • # toDate:
  • # fromDate:
  • # count:
  • getCsvTransactions(
  • walletId: String,
  • assetSymbols: [String],
  • toDate: String,
  • fromDate: String!,
  • count: Int
  • ): TransactionCsv
  • }

link Require by