Phone
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
phonestringRequiredExample:
Phone number
+82 10-1000-5000
Responses
200Success
application/json
get
GET /v1/ledger/balance/phone/{phone} HTTP/1.1
Host:
Accept: */*
200Success
{
"code": 0,
"data": {
"phone": "+82 10-1000-5000",
"phoneHash": "0xF48F4BF6C8B5B285F0D9EB5D52623EE14B6F2B5980E87FAC89E4B968995FAE2B",
"account": "0x5650CD3E6E8963B43D21FAE60EE7A03BCEFCE766",
"point": {
"balance": "10000000000000000000000000",
"value": "10000000000000000000000000"
},
"token": {
"balance": "100000000000000000000000",
"value": "112108371800000000000000"
}
},
"error": {
"message": "Failed to check the validity of parameters"
}
}