3 .Verify wallet address
Verify wallet address
This function is used to verify the validity of a wallet address. By calling this interface, you can check whether a wallet address conforms to the format requirements of a specific blockchain and confirm whether it exists (if supported). This function supports multiple blockchain types, such as Bitcoin (BTC), Ethereum (ETH), etc.
GET
/openapi/chain/address/verify
Name | Type | Required | Description |
---|---|---|---|
address | string[1,128] | yes | Wallet Address |
chain | string[1,32] | yes | Chain name |
Response
Name | Type | Description |
---|---|---|
code | int | Business status code |
data | object | Data object |
valid | boolean | Address verification, true passes, false fails |
msg | string | Business message |
Example Response
{
"code": 0,
"msg": "success",
"data": {
"valid": true
}
}