PhoneHash

Provide the balance corresponding to the user's phone number hash

get

It provides both the balance of points and tokens.It also provides the value converted into basic currency units along with the balance.

Path parameters
phoneHashstringRequired

Phone number hash

Example: 0xF48F4BF6C8B5B285F0D9EB5D52623EE14B6F2B5980E87FAC89E4B968995FAE2B
Responses
200Success
application/json
get
GET /v1/ledger/balance/phoneHash/{phoneHash} HTTP/1.1
Host: 
Accept: */*
200Success
{
  "code": 0,
  "data": {
    "phoneHash": "0xF48F4BF6C8B5B285F0D9EB5D52623EE14B6F2B5980E87FAC89E4B968995FAE2B",
    "account": "0x5650CD3E6E8963B43D21FAE60EE7A03BCEFCE766",
    "point": {
      "balance": "10000000000000000000000000",
      "value": "10000000000000000000000000"
    },
    "token": {
      "balance": "100000000000000000000000",
      "value": "112108371800000000000000"
    }
  },
  "error": {
    "message": "Failed to check the validity of parameters"
  }
}