certified-variables

Serve cryptographically verified query responses using Merkle trees and BLS signatures on the Internet Computer.

28|11|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/dfinity/icskills --skill certified-variables
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: certified-variables
Source: https://github.com/dfinity/icskills/tree/main/skills/certified-variables
Command: npx skills add https://github.com/dfinity/icskills --skill certified-variables

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that data retrieved from Internet Computer canisters via query calls is cryptographically verifiable, preventing malicious or faulty replicas from serving fabricated data.

Core Features & Use Cases

  • Response Verification: Serve responses that are proven authentic using Merkle trees and subnet BLS signatures.
  • Certified Data API: Utilize the IC system API for setting certified data hashes and retrieving certificates.
  • Frontend Validation: Enable clients to verify the authenticity and integrity of query responses.
  • Use Case: Securely serving user profile data or financial transaction history where data integrity is paramount.

Quick Start

Use the certified-variables skill to get the certified value for 'user/alice'.

Frequently Asked Questions about certified-variables

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify Internet Computer query call responses to prevent serving fabricated data?

To verify Internet Computer query call responses and prevent serving fabricated data, you use Merkle trees and subnet BLS signatures to cryptographically prove response authenticity and integrity. This ensures clients receive proven data.

What is the certified data API used for on the Internet Computer?

The certified data API on the Internet Computer is used for setting certified data hashes and retrieving certificates. It enables canisters to serve cryptographically verified responses via query calls using Merkle trees and subnet BLS signatures.

How do I generate witnesses for certified variables in ICP canisters?

To generate witnesses for certified variables in ICP canisters, you construct RbTree or CertTree structures to build Merkle trees. These trees enable witness generation for proving the authenticity of specific data values served to clients.

When do I need cryptographic certification for query responses?

You need cryptographic certification for query responses when data integrity is paramount, such as securely serving user profile data or financial transaction history. It prevents malicious or faulty replicas from serving fabricated data to clients.

Can I use frontend certificate validation to check ICP query response authenticity?

Yes, you can use frontend certificate validation to check ICP query response authenticity. Clients can verify the authenticity and integrity of query responses by validating certificates generated through Merkle trees and subnet BLS signatures.