seismic_getTeePublicKey
Returns the TEE's encryption public key. This is the first step in building a Seismic transaction — clients use this public key with their own ephemeral key to derive a shared AES encryption key via ECDH.
Parameters
None.
Returns
Field
Type
Description
result
hex string (33 bytes)
Compressed secp256k1 public key
Example Request
curl -X POST https://testnet-1.seismictest.net/rpc \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "seismic_getTeePublicKey",
"params": [],
"id": 1
}'Example Response
Related
The Seismic Transaction — how this key is used in transaction encryption
Encryption (seismic-viem) — client-side key exchange
ECDH Precompile — on-chain ECDH
Try It
Last updated

