Skip to content

Wallets

Manage cryptocurrency wallets and view their balances and transaction information.

List Wallets

This endpoint retrieves all wallets.

HTTP Request

GET /v1/wallets/

Query Parameters

ParameterDefaultDescription
profile_idNoneFilter wallets by profile_id
python
wallets = uniwire_api_request('/v1/wallets/')
javascript
uniwire_api_request('/v1/wallets/').then(function(response) {
  console.log(response);
}).catch(function(error) {
  console.log(error);
});

The above command returns JSON structured like this:

json
{
  "result": [
    {
      "id": "<id>",
      "name": "Bitcoin",
      "balances": {
        "available": "0",
        "pending": "0",
        "currency": "BTC",
        "zero_confirmed": "0"
      }
    },
    {
      "id": "<id>",
      "name": "Ethereum",
      "balances": {
        "available": "0",
        "pending": "0",
        "to_consolidate": "0",
        "currency": "ETH"
      },
      "token_balances": [
        {
          "available": "0",
          "pending": "0",
          "to_consolidate": "0",
          "currency": "USDT"
        }
      ]
    }
  ]
}

Get Wallet

This endpoint retrieves a specific wallet.

HTTP Request

GET /v1/wallets/<ID>/

URL Parameters

ParameterDescription
IDThe ID of the wallet to retrieve
python
wallets = uniwire_api_request('/v1/wallets/123/')
javascript
uniwire_api_request('/v1/wallets/123/').then(function(response) {
  console.log(response);
}).catch(function(error) {
  console.log(error);
});

The above command returns JSON structured like this:

json
{
  "id": "<id>",
  "name": "Ethereum",
  "balances": {
    "available": "0",
    "pending": "0",
    "to_consolidate": "0",
    "currency": "ETH"
  },
  "token_balances": [
    {
      "available": "0",
      "pending": "0",
      "to_consolidate": "0",
      "currency": "USDT"
    }
  ]
}