Skip to main content
POST
Execute a subscription round

Body

application/json

Round execution request

Request body for POST /v1/round/execute.

subscriptionOwner
string
required

Subscription owner pubkey (base58). Equal to consumerAuthority for owner-direct requests.

Example:

"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"

consumerAuthority
string
required

Identity that signs RequestAuth and is used to derive feed_id (base58).

Example:

"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"

signaturesRequired
integer
required

Requested quorum, bounded by the subscription or delegate and current node count.

Example:

3

timestamp
integer
required

Unix timestamp (seconds) used as the on-chain replay key and in RequestAuth. Must be within the gateway clock skew window (default 300s).

Example:

1700100000

registryVersion
integer
required

Active on-chain registry version. Must match the current version.

Example:

42

authSig
string
required

Ed25519 signature (64 bytes, base58 or 0x hex) over: sha256("MOLPHA_REQAUTH_V1" || feed_id || uint64_le(timestamp)). Single-use per timestamp — recompute on every retry.

apiConfig
object
required

Off-chain HTTP API configuration hashed into the feed identity.

encKeyBundle
object

Optional encryption envelope. Send null or omit for plaintext configs.

Response

Signed payload ready for submission or verification

Successful round response envelope shared by subscription and agent execute paths.

status
string

Round completion status.

Example:

"completed"

data
object

Threshold-signed oracle result included in successful round responses.