Skip to content

ChainGraph API Documentation / @badaitech/badai-api / GraphQL / SecretResponse

Type Alias: SecretResponse

SecretResponse = object

Defined in: client/graphql.ts:2271

Response to the secret query.

Properties

__typename?

optional __typename: "SecretResponse"

Defined in: client/graphql.ts:2272


hkdfNonce

hkdfNonce: Scalars["BlobBase64"]["output"]

Defined in: client/graphql.ts:2274

Base64-encoded nonce used in HKDF for deriving the encryption key (AES-256 GCM) from the shared secret.


publicKey

publicKey: Scalars["ECDHPublicKeyP256"]["output"]

Defined in: client/graphql.ts:2276

Ephemeral public key of secp256r1 curve for Diffie-Hellman algorithm to get the shared secret as HKDF input.


secret

secret: Secret

Defined in: client/graphql.ts:2278

The secret with the given ID.

Licensed under BUSL-1.1