API reference, Deploys

Deploy actions

Every HyperCore deploy action, newest first: HIP-3 dexs and their markets, spot deploys, outcomes, validator votes, each as the node wrote it.

  • Elysium: not served
  • HyperCore
  • HyperEVM: not served
  • Not on Elysium or HyperEVM: served on HyperCore only

GET https://api.femtos.xyz/v1/hypercore/deploys

Parameters

ParamInExample or valuesMeaning
kindquery(empty), perpDeploy, spotDeploy, outcomeDeploy, activateOutcomeDeployer, VoteGlobalActionOne kind; every one when absent
variantquery(optional)One variant, as written: the action's key (registerAsset2, haltTrading, setFundingInterestRates, J…), an outcome operation (settleOutcome…); several keys: sorted, joined by commas
dexquery(optional)One perp dex or outcome venue
coinquery(optional)One coin (BTC, xyz:TSLA)
userquery(optional)Only this account
statusquery(empty), ok, errok or err; both when absent
notablequery(empty), truetrue: the notable actions only, the routine ones left out: `perpDeploy` `setFundingInterestRates` (each HIP-3 dex's funding interest rates), `outcomeDeploy` `registerStandaloneOutcomeFromTemplate` (every outcome registered from a template), `outcomeDeploy` `settleOutcome` (every outcome settlement, on any venue), `VoteGlobalAction` `LL` holding `registerTokensAndQuestion` (the validators' vote registering a question), `VoteGlobalAction` `LL` holding `registerTokensAndStandaloneOutcome` (the validators' vote registering an outcome), `VoteGlobalAction` `LL` holding `settleOutcome` (the validators' vote settling an outcome), `VoteGlobalAction` `LL` holding `settleQuestion2` (the validators' vote settling a question)
fromquery(optional)Window start (Unix ms, default `to` − 24 h)
toquery(optional)Window end (Unix ms, exclusive, default now)
limitquery20Deploy actions

Example

curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/hypercore/deploys?kind=perpDeploy&limit=20"

Key: Authorization: Bearer $FEMTOS_KEY. Get a free key, or with no browser through agent onboarding.

Response fields

FieldTypeMeaning
deploys[]objectNewest first: {block, time, bundleHash, bundleIdx, actionIdx, kind, variant, dex, coin, user, entity, multiSigUser, …}
deploys[].variantstringThe action's key besides `type` (an outcomeDeploy's: its operation's); several: sorted, joined by commas
deploys[].statusok | err | nullok, or err (refused: `response` says why); null when the node wrote no answer
deploys[].responseobject | string | nullThe exchange's answer as the node wrote it: `{type: default}` (a vote: `{type: validatorVote, data}`), a refusal's text; null when the node wrote none
deploys[].actionobjectThe action as the node wrote it, every digit as written (a named wallet's address: its handle): `{type, <variant>: {…}}`; inside a multiSig, its inner action
frommsStart of the window read
tomsEnd of the window read (exclusive)
headobject | nullThe newest block the history has read (the live feed's, or S3's newest file when later): actions after it are not in it yet; null before any: {block, time}
pending[]objectSpans of blocks overlapping the window whose actions the history does not hold yet, oldest first: read the window again once they are gone; empty when none: {fromBlock, toBlock, fromTime, toTime}
next_cursorstring | nullOpaque cursor of the next page: pass it as `cursor`, unchanged. null on the last page

Next page: cursor = the next_cursor of the previous answer, the same on every list (pagination).

Related: Deploys

  • Deploys stream WS hc.deploys HyperCore
    Every HyperCore deploy action as our node executes it (HIP-3 dexs and their markets, spot deploys, outcomes, validator votes): the rows of GET /v1/hypercore/deploys, pushed per block. One frame per block with all its matching events.

More

Agent guide (agents.md)llms.txtOpenAPIMCP serverGet an API keyChangelog