Presigned Exit Request
Returns a pre-signed voluntary exit message that can be submitted to the Ethereum beacon chain at any time by any party. The signature must come from the withdrawal address associated with the specified validators.
curl --request POST \
--url https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payload": "{\"type\":\"presigned_exit_request\",\"timestamp\":\"2025-04-08T20:28:39.678Z\",\"validators\":[{\"public_key\":\"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e\"}]}",
"signature": "0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d"
}
'import requests
url = "https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request"
payload = {
"payload": "{\"type\":\"presigned_exit_request\",\"timestamp\":\"2025-04-08T20:28:39.678Z\",\"validators\":[{\"public_key\":\"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e\"}]}",
"signature": "0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
payload: '{"type":"presigned_exit_request","timestamp":"2025-04-08T20:28:39.678Z","validators":[{"public_key":"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e"}]}',
signature: '0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d'
})
};
fetch('https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'payload' => '{"type":"presigned_exit_request","timestamp":"2025-04-08T20:28:39.678Z","validators":[{"public_key":"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e"}]}',
'signature' => '0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request"
payload := strings.NewReader("{\n \"payload\": \"{\\\"type\\\":\\\"presigned_exit_request\\\",\\\"timestamp\\\":\\\"2025-04-08T20:28:39.678Z\\\",\\\"validators\\\":[{\\\"public_key\\\":\\\"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e\\\"}]}\",\n \"signature\": \"0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"payload\": \"{\\\"type\\\":\\\"presigned_exit_request\\\",\\\"timestamp\\\":\\\"2025-04-08T20:28:39.678Z\\\",\\\"validators\\\":[{\\\"public_key\\\":\\\"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e\\\"}]}\",\n \"signature\": \"0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"payload\": \"{\\\"type\\\":\\\"presigned_exit_request\\\",\\\"timestamp\\\":\\\"2025-04-08T20:28:39.678Z\\\",\\\"validators\\\":[{\\\"public_key\\\":\\\"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e\\\"}]}\",\n \"signature\": \"0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d\"\n}"
response = http.request(request)
puts response.read_body[
{
"validator_key": "0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e",
"exit_request": {
"message": {
"epoch": "5040",
"validator_index": "1091615"
},
"signature": "0xb77505b425ff7486d5a4a08ab6bf85a9ac8d778b8609421683d36e7a3d10b3243b7b4d22490ff5620ea9d46ff4e4c13308ac689368852af4872e1cdb837ad2d2d170a407c22fa1981ec543e8b05b3cc7836b7f9d300d7796412023ff6b13f3aa"
}
}
]{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The Ethereum network.
mainnet, hoodi Body
A JSON-encoded string containing the presigned exit request payload. Must include:
type: must be"presigned_exit_request"timestamp: ISO8601 UTC timestampvalidators: array of validator public keys, all must share the same withdrawal address
"{\"type\":\"presigned_exit_request\",\"timestamp\":\"2025-04-08T20:28:39.678Z\",\"validators\":[{\"public_key\":\"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e\"}]}"
ERC-191 signature of the payload string, signed by the withdrawal address of the specified validators.
"0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d"
Response
OK
[ { "validator_key": "0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e", "exit_request": { "message": { "epoch": "5040", "validator_index": "1091615" }, "signature": "0xb77505b425ff7486d5a4a08ab6bf85a9ac8d778b8609421683d36e7a3d10b3243b7b4d22490ff5620ea9d46ff4e4c13308ac689368852af4872e1cdb837ad2d2d170a407c22fa1981ec543e8b05b3cc7836b7f9d300d7796412023ff6b13f3aa" } } ]
curl --request POST \
--url https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payload": "{\"type\":\"presigned_exit_request\",\"timestamp\":\"2025-04-08T20:28:39.678Z\",\"validators\":[{\"public_key\":\"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e\"}]}",
"signature": "0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d"
}
'import requests
url = "https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request"
payload = {
"payload": "{\"type\":\"presigned_exit_request\",\"timestamp\":\"2025-04-08T20:28:39.678Z\",\"validators\":[{\"public_key\":\"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e\"}]}",
"signature": "0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
payload: '{"type":"presigned_exit_request","timestamp":"2025-04-08T20:28:39.678Z","validators":[{"public_key":"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e"}]}',
signature: '0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d'
})
};
fetch('https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'payload' => '{"type":"presigned_exit_request","timestamp":"2025-04-08T20:28:39.678Z","validators":[{"public_key":"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e"}]}',
'signature' => '0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request"
payload := strings.NewReader("{\n \"payload\": \"{\\\"type\\\":\\\"presigned_exit_request\\\",\\\"timestamp\\\":\\\"2025-04-08T20:28:39.678Z\\\",\\\"validators\\\":[{\\\"public_key\\\":\\\"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e\\\"}]}\",\n \"signature\": \"0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"payload\": \"{\\\"type\\\":\\\"presigned_exit_request\\\",\\\"timestamp\\\":\\\"2025-04-08T20:28:39.678Z\\\",\\\"validators\\\":[{\\\"public_key\\\":\\\"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e\\\"}]}\",\n \"signature\": \"0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ethereum-staking.sprd.validationcloud.io/v1/api/ethereum/{network}/presigned_exit_request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"payload\": \"{\\\"type\\\":\\\"presigned_exit_request\\\",\\\"timestamp\\\":\\\"2025-04-08T20:28:39.678Z\\\",\\\"validators\\\":[{\\\"public_key\\\":\\\"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e\\\"}]}\",\n \"signature\": \"0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d\"\n}"
response = http.request(request)
puts response.read_body[
{
"validator_key": "0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e",
"exit_request": {
"message": {
"epoch": "5040",
"validator_index": "1091615"
},
"signature": "0xb77505b425ff7486d5a4a08ab6bf85a9ac8d778b8609421683d36e7a3d10b3243b7b4d22490ff5620ea9d46ff4e4c13308ac689368852af4872e1cdb837ad2d2d170a407c22fa1981ec543e8b05b3cc7836b7f9d300d7796412023ff6b13f3aa"
}
}
]{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}