Get the Provable scanner ephemeral public key
Fetches a fresh { public_key, key_id } from Provable’s RecordScanner /pubkey endpoint. The iframe uses this to encrypt its view key before calling /scanner/register.
GET
Get the Provable scanner ephemeral public key
Documentation Index
Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the environment
Required string length:
36Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Example:
"95b11417-f18f-457f-8804-68e361f9164f"
Query Parameters
Available options:
testnet, mainnet Previous
Register an encrypted view key with the Provable scannerForwards the iframe's `{ key_id, ciphertext }` blob to Provable's `/register/encrypted`. The ciphertext is a `crypto_box_seal` of the view key against the ephemeral pubkey from `/scanner/pubkey`; the view key plaintext never leaves the iframe.
Next
Get the Provable scanner ephemeral public key