Get Wallet Balance
The getBalance API is a RESTful API endpoint that allows you to retrieve the current balance of a user's cryptocurrency wallet.
POST
https://wallet-api.xaigate.com/api/v1/getBalance
Parameter content type: application/json
Request Body
Name
Type
Description
apiKey*
String
fdda9f03-6409-43eb-a6ef-e1f6cea71c2e
userId*
String
097f35dd-a806-43ef-ab0d-f121cb11567e
coin*
Stirng
ETH
{
"name"="Wilson",
"owner": {
"id": "sha7891bikojbkreuy",
"name": "Samuel Passet",
"species": "Dog",}
"breed": "Golden Retriever",
}
Request Parameter
Parameter
Type
Sample Value
apiKey (required)
String
userId (required)
String
coin (required)
String
Example Value
{
"apiKey": "033e15ee-3de7-4a93-800a-ae131b73c237",
"userId": "b3e36e1a-296f-4198-bda1-180c51aff14a",
"coin": "ETH"
}
Response (200 Ok - https status code)
Response
Type
Sample Value
balance
String
coinShortName
String
Example Value
{
"balance": "1",
"coinShortName": "ETH"
}
Last updated