⚡ We welcome businesses to test our enterprise-grade service

Method: POST /wallet/votewitnessaccount

dropdown

方法 REST /wallet/votewitnessaccount 例如 Tron (TRX)

POST /wallet/votewitnessaccount

Method not allowed

投票给证人

Parameters

owner_address -

细绳

所有者地址,默认六角形

votes -

JSON对象的数组

格式: - 投票_ADDRESS-字符串 - 代表您要投票的证人的地址,默认的hexstring,-poted_count -int_32-代表您要投票的票数

permission_id -

享受

可选,用于多签名

visible -

布尔

可选,地址是否为基本58格式。

Request

curl --location --request POST 'https://trx.getblock.io/wallet/votewitnessaccount' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{}'


Response

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