SUI prover Nonce
POST https://{auth-domain}/v1.0/sui/prove/nonce
Headers
Name
Type
Description
Authorization*
string
Bearer {{web-access-token}}
{
"return": 0,
"message": "success",
"value": {
"Data": {
"nonce": "ktK9CMsBcKrxAFO55zJ3cyP6kjI",
"randomness": "249413996864903195759089670247231550196",
"epoch": 425,
"maxEpoch": 427,
"estimatedExpiration": 1720727792223
}
}
}{
"return": 500,
"message": "internal server error"
}{
"ephemeralPublicKey" : "AAjgphymeAsqZ+Si3+gmLieAxZ+p8bQoHDkLCkD+/srd"
}
curl --location 'http://localhost:51000/m1.0/sui/prove/nonce' \
--header 'Content-Type: application/json' \
--data '{
"ephemeralPublicKey" : "AAjgphymeAsqZ+Si3+gmLieAxZ+p8bQoHDkLCkD+/srd1"
}'key
data type
desc.
Data
object
nonce
string
randomness
string
epoch
int64
maxEpoch
int64
estimatedExpiration
int64
return
message
desc.
0
success
성공
500
internal server error
내부 오류
Last updated