⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins

Method: POST /wallet/updateaccount

dropdown

# /wallet/updateaccount example for Tron (TRX)

POST /wallet/updateaccount

Method not allowed

Modify account name

Parameters

account_name -

string

Account_name is the name of the account, converted to a hex string

owner_address -

string

Owner_address is the account address to be modified, converted to a hex string

visible -

boolean

Optional,whether the address is in base58 format

permission_id -

int32

Optional,for multi-signature use

Request

curl --location --request POST 'https://trx.getblock.io/wallet/updateaccount' \
--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"
}