Skip to main content

Get a Trust Registry

Simple query method for getting a trust registry.

Query Parameters

NameDescriptionMandatory
tr-idid of the trust registry to getyes
active-gf-onlyreturn only active ecosystem governance framework, hide the other EGF versionsno
preferred-languageprefer ecosystem governance framework in this language. If an EGF doesn't exist in this language, returns the default language.no

Execute the Query

Usage

veranad q tr get-trust-registry $TR_ID --node $NODE_RPC --output json
Copy-pasteable example

You can run these examples directly if you define the variables first:

TR_ID=5
NODE_RPC=http://node1.testnet.verana.network:26657

Example

veranad q tr get-trust-registry 1 --node $NODE_RPC --output json

Example with optional parameters

veranad q tr get-trust-registry 1 --active-gf-only=true --preferred-language=fr --node $NODE_RPC --output json