Skip to main content
Version: v3 (old)

Archive or Unarchive a Credential Schema

You can archive or unarchive a credential schema with the following command:

tip

Only the account that is the controller of the trust registry can execute this method.

Message Parameters​

NameDescriptionMandatory
idid of the trust registry to archive or unarchive.yes
archivetrue archive, false unarchive.yes

Post the Message​

Usage​

veranad tx ... --node $NODE_RPC
TODO

@matlux

Archive a Credential Schema​

TRUST_REG_ID=5
veranad tx tr archive-trust-registry ${TRUST_REG_ID} true --from $USER_ACC --chain-id ${CHAIN_ID} --keyring-backend test --fees 600000uvna --node $NODE_RPC

Unarchive a Credential Schema​

TRUST_REG_ID=5
veranad tx tr archive-trust-registry ${TRUST_REG_ID} false --from $USER_ACC --chain-id ${CHAIN_ID} --keyring-backend test --fees 600000uvna --node $NODE_RPC