zen

Horizen (ZEN)

Method: POST validateaddress

dropdown

POST validateaddress

返回有关给定 btc 地址的信息。

Parameters

address - 字符串,必填

要验证的 BTC 地址

Request

curl --location --request POST 'https://zen.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "validateaddress",
"params": ["bc1q09vm5lfy0j5reeulh4x5752q25uqqvz34hufdl"],
"id": "getblock.io"}'


Response

{
    "error": null,
    "id": "getblock.io",
    "result": {
        "isvalid": false
    }
}