Archive or Unarchive a Trust Registry
You can archive or unarchive a trust registry with the following command:
tip
Only the account that is the controller of the trust registry can execute this method.
Message Parameters
Name | Description | Mandatory |
---|---|---|
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 <trust-registry-id> <archive-flag> --from <user> --chain-id <chain-id> --keyring-backend test --fees <amount>
Note: The following examples assume you have set a TRUST_REG_ID
environment variable, update it with your trust registry id.
Archive a Trust Registry
veranad tx tr archive-trust-registry ${TRUST_REG_ID} true --from $USER_ACC --chain-id ${CHAIN_ID} --keyring-backend test --fees 600000uvna
Unarchive a Trust Registry
veranad tx tr archive-trust-registry ${TRUST_REG_ID} false --from $USER_ACC --chain-id ${CHAIN_ID} --keyring-backend test --fees 600000uvna
tip
TODO: describe here