Account
Is Valid Address
This endpoint checks if a given address is valid for a specified coin. It also supports memos for certain coins. The response is a boolean indicating whether the address is valid or not.
GET
/
v1
/
custody
/
mpc
/
is_valid_address
/
Authorization
Query
request(
"GET",
"/v1/custody/mpc/is_valid_address/",
{
"coin": "ETH",
"address": "0x9414933Ff7777bb28cA22D15c178596A6e58d957"
},
api_key, api_secret, host
)
{
"success": true,
"result": false
}
Request
coin
String
requiredCoin code
address
String
requiredaddress; please use ‘|’ to separate the addresses if there’s also a memo
Response
success
bool
request successful or failed
result
bool
Whether the address is valid or not.
request(
"GET",
"/v1/custody/mpc/is_valid_address/",
{
"coin": "ETH",
"address": "0x9414933Ff7777bb28cA22D15c178596A6e58d957"
},
api_key, api_secret, host
)
{
"success": true,
"result": false
}