API Docs
Wallets & Payment
Get Wallet Addresses

Get Wallet Addresses

Get you wallets addresses given a username and your wallet entity id.

⚠️

To run this query you need the wallet id parameter. To find this one you need to first use our Get Wallet command.

Example

query getWalletAddresses {
  getWalletAddresses(coinWalletId: 16897030, uname: "your_username", first: 10) {
    edges {
      node {
        rowId
        addressName
        address
      }
    }
  }
}

Response

{
  "data": {
    "getWalletAddresses": {
      "edges": [
        {
          "node": {
            "rowId": 19688,
            "addressName": "my_wallet_name",
            "address": "14rnma7Gkf3EkRD87CmLU5gFaYo3jB8aeP"
          }
        }
      ]
    }
  }
}

Arguments

  • uname (String!)

  • coinWalletId (Int!)

  • first (Int) Only read the first n values of the set.

Type

WalletAddressesConnection

A connection to a list of WalletAddress values.

type WalletAddressesConnection {
  nodes: [WalletAddress!]!
  edges: [WalletAddressesEdge!]!
  pageInfo: PageInfo!
  totalCount: Int!
}
Fields
  • nodes ([WalletAddress!]!)

A list of WalletAddress objects.

type WalletAddress {
  rowId: Int
  walletId: Int
  address: String
  paymentSplitPercentage: Int
  addressName: String
}
  • edges ([WalletAddressesEdge!]!)

A list of edges which contains the WalletAddress and cursor to aid in pagination.

type WalletAddressesEdge {
  cursor: Cursor
  node: WalletAddress!
}
  • pageInfo (PageInfo!) Information to aid in pagination.

    type PageInfo {
      hasNextPage: Boolean!
      hasPreviousPage: Boolean!
      startCursor: Cursor
      endCursor: Cursor
    }
  • totalCount (Int!) The count of all WalletAddress you could get from the connection.