Skip to main content

getKmsInfo

GET /kms/{kms_id} Returns details about a specific KMS instance. Parameters: Returns: KmsInfo Example:

getKmsList

GET /kms Returns a paginated list of available KMS instances. Parameters: Returns: GetKmsListResponse — paginated list of KmsInfo objects. Example:

nextAppIds

GET /kms/phala/next_app_id Reserves one or more app IDs from the centralized Phala KMS. Use these with the nonce and app_id parameters in provisionCvm for deterministic app ID assignment. Parameters: Returns: NextAppIds Example:

getKmsOnChainDetail

GET /kms/on-chain/{chain} Returns on-chain KMS details for a specific blockchain, including all registered contracts with their devices and OS images. This is useful for inspecting the on-chain state of KMS infrastructure across a chain. Parameters: Returns: GetKmsOnChainDetailResponse Each contract includes: Example: