Returns KMS contracts on the specified chain with device and OS image whitelist status.
cURL
curl --request GET \ --url https://cloud-api.phala.com/api/v1/kms/on-chain/{chain}
{ "chain_name": "<string>", "chain_id": 123, "contracts": [ { "contract_address": "<string>", "chain_id": 123, "chain_name": "<string>", "devices": [ { "device_id": "<string>", "node_name": "<string>", "on_chain_allowed": true } ], "os_images": [ { "name": "<string>", "version": "<string>", "os_image_hash": "<string>", "on_chain_allowed": true } ] } ] }
Successful Response
Show child attributes
Was this page helpful?