Skip to main content
Version: v4 (next)

Get a Credential Schema

MOD-CS-QRY-2

Query method for getting a credential schema by ID.

Query Parameters

NameDescriptionMandatory
idID of the credential schema to getyes

Execute the Query

Usage

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

Example

NODE_RPC=https://rpc.testnet.verana.network
SCHEMA_ID=1
veranad q cs get-schema $SCHEMA_ID --node $NODE_RPC --output json