Skip to main content

/wallet/accountpermissionupdate REST API Endpoint

Loading...

Updated on
Oct 04, 2023

/wallet/accountpermissionupdate REST API Endpoint

Body Parameters

owner_address
string
REQUIRED
Loading...
actives
string
REQUIRED
Loading...
owner
integer
REQUIRED
Loading...
witness
integer
REQUIRED
Loading...
visible
boolean
Loading...

Returns

visible
Loading...
txid
Loading...
raw_data
Loading...
contract
Loading...
contract_index
Loading...
parameter
Loading...
value
Loading...
owner
Loading...
keys
Loading...
address
Loading...
weight
Loading...
permission_name
Loading...
threshold
Loading...
owner_address
Loading...
active
Loading...
operations
Loading...
type
Loading...
permission_name
Loading...
threshold
Loading...
keys
Loading...
address
Loading...
weight
Loading...
type_url
Loading...
type
Loading...
ref_block_bytes
Loading...
ref_block_hash
Loading...
expiration
Loading...
timestamp
Loading...
raw_data_hex
Loading...
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/accountpermissionupdate \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
7
"actives": [
8
{
9
"type": 2,
10
"permission_name": "active0",
11
"threshold": 2,
12
"operations": "7fff1fc0037e0000000000000000000000000000000000000000000000000000",
13
"keys": [
14
{
15
"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
16
"weight": 1
17
},
18
{
19
"address": "TPswDDCAWhJAZGdHPidFg5nEf8TkNToDX1",
20
"weight": 1
21
}
22
]
23
}
24
],
25
"owner": {
26
"type": 0,
27
"permission_name": "owner",
28
"threshold": 1,
29
"keys": [
30
{
31
"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
32
"weight": 1
33
}
34
]
35
},
36
"visible": true
37
}
38
'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free