Test
Test related endpoints.
Accepts the JSON body produced by Charon when running charon test … --publish: enr, sig, and data. Authentication is not a Bearer token: TestEnrGuard verifies that sig is a valid secp256k1 ECDSA signature (base64, as emitted by Go json.Marshal on the signature bytes) over the SSZ hash of JSON.stringify(data) for the public key embedded in enr. Only Content-Type: application/json is required.
ENR text for the Charon node whose private key signed the payload
enr:-IS4QAnExamplePlaceholderReplaceWithRealEnrFromCharonBase64-encoded secp256k1 ECDSA signature (65 bytes: 32-byte r + 32-byte s + 1-byte recovery id) over the SSZ hashTreeRoot of the UTF-8 bytes of JSON.stringify(data), matching Charon publishResultToObolAPI
AbCdEfGhIjKlMnOpQrStUvWxYz0123456789abcdefghijklmnoPQRSTUVWxyZTest result data stored successfully
Invalid test result data
Signature verification failed for the supplied enr and sig
Returned when enr or sig is missing from the body (guard rejects the request before verification)
An unknown error occurred
No content
This endpoint retrieves test results for a specific ENR.
ENR to search for
Test results found
ENR text for the Charon node whose private key signed the payload
enr:-IS4QAnExamplePlaceholderReplaceWithRealEnrFromCharonBase64-encoded secp256k1 ECDSA signature (65 bytes: 32-byte r + 32-byte s + 1-byte recovery id) over the SSZ hashTreeRoot of the UTF-8 bytes of JSON.stringify(data), matching Charon publishResultToObolAPI
AbCdEfGhIjKlMnOpQrStUvWxYz0123456789abcdefghijklmnoPQRSTUVWxyZNo test results found for this ENR
An unknown error occurred
Last updated
Was this helpful?

