INTERFACE

Wallet

link GraphQL Schema definition

  • interface Wallet {
  • # Main Wallet address
  • address: String
  • # Unique id for the HD wallet
  • id: String!
  • # Unique identifier for the sub wallet
  • subWalletId: SubWalletId! @deprecated( reason: "use subWalletIdString instead" )
  • # Unique identifier for the subWallet in string format
  • subWalletIdString: String!
  • # The name of the account (wallet)
  • name: String!
  • # Creation time stamp (ISO 8601 UTC time)
  • createdAt: String!
  • # Modified time stamp (ISO 8601 UTC time)
  • updatedAt: String!
  • # Wallet 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 wallet (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!
  • }