Get a Credential Schema
Simple query method for getting a credential schema.
Query Parameters
Name | Description | Mandatory |
---|---|---|
id | id of the credential schema to get | yes |
Execute the Query
- CLI
- API
- Frontend
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
Example:
curl -X GET "https://api.testnet.verana.network/verana/cs/v1/get/1" -H "accept: application/json"
You can browse and inspect credential schemas on the Verana Testnet frontend.