Skip to main content
Version: v4 (next)

Update a Trust Registry

MOD-TR-MSG-4

Post a message that will modify the ledger state by updating a trust registry. This operation is delegable.

tip

Only the authority (group account) that controls the trust registry can execute this method. The operator must be authorized by the authority.

Message Parameters

NameDescriptionMandatory
authorityGroup account that controls the trust registryyes
idID of the trust registry to updateyes
didDecentralized Identifier (DID) — must follow DID-CORE syntaxyes
akaAlso Known As URI (set to empty to clear)no

Post the Message

Usage

veranad tx tr update-trust-registry [authority] [id] [did] \
[--aka <aka>] \
--from <operator> --chain-id <chain-id> --keyring-backend test --fees <amount> --node $NODE_RPC

Example

veranad tx tr update-trust-registry $AUTHORITY_ACC ${TRUST_REG_ID} did:example:newdidvalue \
--aka https://new-aka-example.com \
--from $USER_ACC --chain-id ${CHAIN_ID} --keyring-backend test --fees 600000uvna --node $NODE_RPC