XaiGate Wallet
  • Overview
  • Getting Started
    • Sign Up
    • Get API Key
    • Supported Chains
  • API Documentation
    • Create User
    • Create New Wallet Address
    • Get Wallet Balance
    • Withdraw
    • Get Transactions
  • Invoice
    • Create Invoice
    • Get Invoice
  • IPNS
    • Deposit/Withdraw Response
    • Notify Invoice Response
  • Features
Powered by GitBook
On this page
  • Request Parameter
  • Example Value
  • Response (200 Ok - https status code)
  • Example Value
  1. API Documentation

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"
}

PreviousCreate New Wallet AddressNextWithdraw

Last updated 1 year ago