Build an unsigned OptimisticOracle.revealVote transaction.
Manually reveal a previously-committed vote. Most callers should rely on the indexer’s reveal-automation (post the payload to /v1/oracle/pending-reveal); this endpoint is for self-service reveals.
Authorizations
HttpOnly session cookie set by POST /v1/auth/session. Mutating requests must also send the CSRF token (returned by that call) in the x-csrf-token header.
Body
Alephium address (base58, optional :N group suffix).
30 - 80^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz:]+$Signer's public key (33-byte secp256k1 hex). Required for the node to build the witness layout.
^(0x)?[0-9a-fA-F]+$Alephium address (base58, optional :N group suffix).
30 - 80^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz:]+$Alephium address (base58, optional :N group suffix).
30 - 80^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz:]+$1=YES, 2=NO, 3=TOO_EARLY
1 32-byte hex string (with or without 0x prefix).
^(0x)?[0-9a-fA-F]+$Signature scheme the signer address was derived from. gl-secp256k1 is the groupless key the Aura app uses (3... addresses); default is grouped secp256k1 for standard Alephium wallets and tooling (1... addresses). These are the only two types a session can be established with, so no other value can reach a build-tx route.
default, gl-secp256k1 Response
Default Response
Hex-encoded unsigned transaction. Sign and submit via your wallet.
-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991
