keyseismic_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://gcp-1.seismictest.net/rpc \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "seismic_getTeePublicKey",
    "params": [],
    "id": 1
  }'

Example Response

Try It

Last updated