zk-login-sig-verify
Verify zkLogin Signature
Given a zkLogin signature, this command verifies it if valid. If bytes
are provided, it will parse them as either TransactionData
or PersonalMessage
based on the intent_scope
. The command verifies the zkLogin signature based on the latest JSON Web Key (JWK) fetched.
Example Request
Options
--sig <SIG>
The Base64 of the serialized zkLogin signature.--bytes <BYTES>
The Base64 of the BCS encodedTransactionData
orPersonalMessage
.--json
Return command outputs in JSON format.--intent-scope <INTENT_SCOPE>
Either 0 forTransactionData
or 3 forPersonalMessage
.--curr-epoch <CURR_EPOCH>
The current epoch for the network to verify the signature'smax_epoch
against.--network <NETWORK>
The network to verify the signature for. Determines ZkLoginEnv. (Default: devnet)
Last updated