INTERFACE

SubWallet

link GraphQL Schema definition

  • interface SubWallet {
  • # SubWallet address
  • address: String
  • # Unique id for the subWallet. String format of the subWalletId (id/type/index)
  • id: String!
  • # Name of the subWallet
  • name: String!
  • # Creation time stamp (ISO 8601 UTC time)
  • createdAt: String!
  • # Modified time stamp (ISO 8601 UTC time)
  • updatedAt: String!
  • # SubWallet Type
  • walletType: WalletType!
  • # Transaction connection
  • #
  • # Arguments
  • # limit:
  • # nextToken:
  • # assetSymbols:
  • # address:
  • transactions(
  • limit: Int,
  • nextToken: String,
  • assetSymbols: [String],
  • address: String
  • ): TransactionConnection!
  • # List of token assets with balances associated with the subWallet (ETH + ERC20 if
  • # Ethereum else BTC on Bitcoin)
  • # NOTE: pagination is not implemented yet - limit and nextToken are currently
  • # ignored
  • #
  • # Arguments
  • # limit:
  • # nextToken:
  • balances(limit: Int, nextToken: String): BalanceConnection!
  • }