Create zkLogin ZKP

Creates a zero-knowledge proof, which is used to submit transactions to Sui.

post/v1/zklogin/zkp

Request

  • Base URL
    http://api.enoki.mystenlabs.com
  • Auth
    HTTP bearer

Headers

zklogin-jwtstring required

The JWT of the user signed in with zkLogin.

Request body

network'testnet' | 'mainnet' | 'devnet'

The Sui network you wish to use. Defaults to mainnet.

ephemeralPublicKeystring required

The ephemeral public key created during the zkLogin process, encoded as a base64 string.

maxEpochinteger required

The maxEpoch created during the zkLogin process.

randomnessstring required

The randomness created during the zkLogin process.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.