Get a Credential Schema
MOD-CS-QRY-2
Query method for getting a credential schema by ID.
Query Parameters
| Name | Description | Mandatory |
|---|---|---|
| id | ID of the credential schema to get | yes |
Execute the Query
- CLI
- API
- Frontend
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
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.