Skip to main content

Get a Credential Schema

Simple query method for getting a credential schema.

Query Parameters

NameDescriptionMandatory
idid of the credential schema to getyes

Execute the Query

Usage

veranad query cs get-schema [id] --node $NODE_RPC --output json

Example

NODE_RPC=http://node1.testnet.verana.network:26657
SCHEMA_ID=1
veranad query cs get-schema $SCHEMA_ID --node $NODE_RPC --output json