📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

ltc
Litecoin (LTC)

Method: POST validateaddress

dropdown

方法 RPC validateaddress 例如 Litecoin (LTC)

POST validateaddress

返回有关给定莱特币地址的信息。

Parameters

litecoinaddress - 字符串,必填

要验证的莱特币地址

Request

curl --location --request POST 'https://ltc.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
    }
}