⚡ We welcome businesses to test our enterprise-grade service

ltc
Litecoin (LTC)

Method: POST setaccount

dropdown

方法 RPC setaccount 例如 Litecoin (LTC)

POST setaccount

方法不允许

设置与给定地址关联的帐户。分配已分配给同一帐户的地址将创建与该帐户关联的新地址。

Parameters

litecoinaddress - 字符串,必填

莱特币地址

account - 字符串,必填

帐户

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": "setaccount",
"params": [null, null],
"id": "getblock.io"}'


Response

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