POSTsui_verifyZkLoginSignature

Sui Mainnethttps://sui-mainnet.nodit.io/

Verify a zklogin signature for the given bytes, intent scope and author.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
paramsoneOf[]required
params[0]string

The Base64 string of bcs bytes for raw transaction data or personal message indicated by intent_scope.

params[1]string

The Base64 string of bcs bytes for raw transaction data or personal message indicated by intent_scope.

params[2]string

The Base64 string of bcs bytes for raw transaction data or personal message indicated by intent_scope.

params[3]string

The Base64 string of bcs bytes for raw transaction data or personal message indicated by intent_scope.

Responses
jsonrpcstring
idinteger
errorsstring[]required

The errors field captures any verification error

successbooleanrequired

The boolean result of the verification. If true, errors should be empty.

X-API-KEY
RequestCU250
cURL
curl -X POST "https://sui-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sui_verifyZkLoginSignature",
  "params": [
    "AAACACBnxtMcbF0b7+Yka0w4DKyQ3Pdy/G6ZT7bYIsdx8+kQKgEAAQEAAQIAAJUqVJ0rWvqLNd6s6UzUNr8gaMqA",
    "BQNMMTY4MzM1NzI5MjY3NzE5NTI2MTQ4MDc0MjMzMjQ5NTI0MzQxNDAwNjg3NTIzNTUzNDgyNTk4NDc1NjE2NDA0MzY1",
    "TransactionData",
    "0x278ae6b78bddb5eea883f3aa128b825ec063fafc5c2efa3e6216a3ea612c3e29"
  ]
}'
Response
Example · 200
{
  "jsonrpc": "string",
  "id": 0,
  "result": {
    "errors": [
      "string"
    ],
    "success": true
  }
}