Archive or Unarchive a Trust Registry
MOD-TR-MSG-5
You can archive or unarchive a trust registry with the following command. 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
| Name | Description | Mandatory |
|---|---|---|
| authority | Group account that controls the trust registry | yes |
| trust-registry-id | ID of the trust registry to archive or unarchive | yes |
| archive | true to archive, false to unarchive | yes |
Post the Message
- CLI
- Frontend
Usage
veranad tx tr archive-trust-registry [authority] [trust-registry-id] [archive] \
--from <operator> --chain-id <chain-id> --keyring-backend test --fees <amount> --node $NODE_RPC
Note: The following examples assume you have set TRUST_REG_ID and AUTHORITY_ACC environment variables.
Archive a Trust Registry
veranad tx tr archive-trust-registry $AUTHORITY_ACC ${TRUST_REG_ID} true \
--from $USER_ACC --chain-id ${CHAIN_ID} --keyring-backend test --fees 600000uvna --node $NODE_RPC
Unarchive a Trust Registry
veranad tx tr archive-trust-registry $AUTHORITY_ACC ${TRUST_REG_ID} false \
--from $USER_ACC --chain-id ${CHAIN_ID} --keyring-backend test --fees 600000uvna --node $NODE_RPC
tip
TODO: describe here