create_custom_permission
create_custom_account_authority
create_account_role
active
and owner
keys for everything they do on the chain. Instead, they can create role based custom permissions and map them to different keys other than active
and owner
keys. They can then use these custom keys to sign transactions.create_custom_permission
function looks like this:true
or false
, whether or not you want to broadcast the transaction.auth
parameter is a JSON object which looks like this:account_auths
represents the amount of weight each account has on our account, in this example 1.2.52
has a weight of 1.key_auths
represents the amount of weight each public key has on this account, in this example TEST71ADtL4fzjGKErk9nQJrABmCPUR8QCjkCUNfdmgY5yDzQGhwto
has a weight of 1.weight_threshold
represents the required weight for a transaction to be signed successfully.1.2.52
can sign with their active key or TEST71ADtL4fzjGKErk9nQJrABmCPUR8QCjkCUNfdmgY5yDzQGhwto
can be used to sign a transaction successfully because they each have a weight of 1, and only 1 is required by the threshold.get_custom_permission
function looks like this:update_custom_permission
function looks like this:true
or false
, whether or not you want to broadcast the transaction.key_auths
and added 1.2.53
with weight 1, which is equal to weight_threshold
, so 1.2.53
can alone sign the transaction successfully.create_custom_account_authority
function looks like this:true
or false
, whether or not you want to broadcast the transaction."2019-11-22T18:30:00"
account01
can be done by authorities present in 1.27.0
instead of account owner account01
.valid_from
and valid_to
times.update_custom_account_authority
function looks like this:true
or false
, whether or not you want to broadcast the transaction."2019-11-22T18:30:00"
delete_custom_permission
function looks like this:true
or false
, whether or not you want to broadcast the transaction.delete_custom_account_authority
function looks like this:true
or false
, whether or not you want to broadcast the transaction.create_account_role
function looks like this:"Movie Interstellar Permissions"
valid_from
is automatically set to the time the account role was created.true
or false
, whether or not you want to broadcast the transaction."2020-09-04T13:43:39"
1.2.40
, 1.2.41
, and 1.2.43
.get_account_roles_by_owner
function looks like this:update_account_role
function looks like this:"Movie Interstellar Permissions"
valid_from
is automatically set to the time the account role was created.true
or false
, whether or not you want to broadcast the transaction."2020-09-04T13:43:39"
88
offer_operation
is added.95
nft_safe_transfer_from_operation
is removed.1.2.42
account is added to the whitelist.1.2.40
account is removed from the whitelist.delete_account_role
function looks like this:true
or false
, whether or not you want to broadcast the transaction.