Get vault balances

GET/vault/{vault_id}/balances

Get balances for all vault addresses, with optional filtering by network and asset.

Parameters

Path

  • vault_idstringrequired

    Vault id.

Query

  • networkstringoptional

    Filter by network.

  • assetstringoptional

    Filter by asset.

Responses

Vault balances.

    • livemodeboolean

      true when the API key that made the request acts in a live environment, false in a sandbox.

      Show full description

      It is on every object a keyed request answers with — the resource itself, each item of a list, and each object inside a list a resource carries — but not on the success/message envelope or on an object nested directly in another (such as destination, fees or pagination), so a payload read on its own still says which side of the boundary it came from. The two public endpoints answer without it. It is derived from the key at the time of the response and is never stored.

Request
curl "https://api.stridge.com/v1/vault/string/balances" \
  -H "X-API-Key: $STRIDGE_API_KEY"

Set your api key as STRIDGE_API_KEY (sent as X-API-Key).

Response200
"livemode": true,
"livemode": true,
"asset": "Ethereum",
"network_id": "60",
"network_symbol": "ETH",
"raw_value": "1000000000000000000",
"raw_value_decimals": 18,
"amount": "1.5",
"raw": "1000000000000000000",
"usd": "3500.00"
}
}
]
}
}