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

bch
Bitcoin Cash (BCH)

Method: POST listlabels

dropdown

方法 RPC listlabels 例如 Bitcoin Cash (BCH)

POST listlabels

方法不允许

返回所有标签的列表,或分配给具有特定用途的地址的标签。

Parameters

purpose - 字符串,可选

列出标签的地址目的(‘send’,‘receive’)。空字符串与不提供此参数相同。

Request

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


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}