Browse documentation

Reference

Builders

Release notes

Verify the chain, deployment manifest, contract addresses and runtime hashes before preparing transactions. Different markets can use different contracts and fee rules. The current SDK supports one contract release, Gen10, and acts only on the contracts in its bundled manifest; a newer deployment does not change an existing market’s immutable bindings.

An indexed response’s releaseId identifies its feed, and its numeric generation field identifies the feed’s reorg generation. Neither identifies a market’s contracts, and a feed release string need not match a contract deployment name. Use separately verified deployment evidence and fresh chain reads for transaction preparation.

Keep the raw bytes32 dealId separate from the app’s market keys and routes: an app route key is a presentation identity, not an ABI argument or a valid dealId query value. The public data API’s cca model is not a contract selector.

SDK use cases

  • Frontends: display indexed auctions, bids, activity, trades, volume and chart candles through @oxley/sdk/data.
  • Aggregators, exchanges and bots: discover active post-auction markets, read independent RPC quotes, prepare atomic buy/sell calldata and add an integrator fee through createOxleyClient from @oxley/sdk.
  • Auction participants and bots: read a wallet’s Dynamic Bid limits and prepare unsigned bids, rebids, principal refunds and token claims through @oxley/sdk/auctions.
  • Creators, builders and authorized AI agents: prepare creator-account setup, exact launch-fee approval, auction launch, scheduled launches, the unused-bond claim and creator-fee claims through @oxley/sdk/launch, and publish token details through @oxley/sdk/metadata.

Install

GitHub source and README | npm package

Pin an exact version. This page describes @oxley/sdk 0.7.0-next.2, a breaking prerelease that supports Gen10 only: the earlier multi-generation support is removed, createOxleyMarkets is gone and prepareBid is replaced by prepareDynamicBid. The clients are separate entry points: createOxleyClient (quotes, swaps, integrator fees, Terms) from @oxley/sdk, createOxleyAuctionClient from @oxley/sdk/auctions, createOxleyLaunchClient from @oxley/sdk/launch, createOxleyMetadataClient from @oxley/sdk/metadata and createOxleyDataClient from @oxley/sdk/data. The first three bind one reviewed deployment; the last two are fetch-only. This ESM package includes TypeScript declarations and supports Node 20+ and browser bundlers. Integrations on 0.6 or the legacy 0.4.1 API must migrate explicitly; the changelog lists every renamed export.

Registry tags can change; check the published version before choosing a pin. A package version’s helpers act only on the contracts in its bundled deployment manifest, deployments/elysium-testnet.json, which is also exported as testnetDeployment (Elysium testnet, chain 99801, USDC). Its launchBindings (creator account factory, entry controller, bond escrow, launch fee and operating bond) are optional for createOxleyClient and createOxleyAuctionClient and required only by createOxleyLaunchClient.

Install SDK
npm install @oxley/sdk@0.7.0-next.2

Live indexed data

The public read-only API is https://app.oxley.fun/api/data/v1. No API key, wallet or RPC client is required. Feeds cover Elysium testnet, chain 99801, with USDC; select the enabled cca auction model. The feed currently covers only the first group of auction markets; auctions launched since are not yet included.

Data API guide documents all nine resources, numeric units, pagination, freshness and errors. Use the frontend polling example for cancellation and cooldown handling.

Token details: GET https://app.oxley.fun/api/data/v1/tokens?ids=<dealId>,<dealId> returns each market’s name, symbol, coin, creator, description, website, x and telegram links and image. Name and symbol come from the market index, so no contract read is needed, and every market the app lists is covered, newer launches included, whatever the auction feed above covers. Send up to 50 lowercase bytes32 dealId values per request; data.tokens({ ids }) in @oxley/sdk accepts any number and sends 50 at a time. Without the SDK, call the endpoint directly.

A market the API does not list is left out of items: an unknown ID or a retired auction. Compare items with the IDs you asked for; a request whose IDs are all retired answers 410 AUCTION_RETIRED. A listed market whose creator has saved nothing is still returned, with empty text fields, a null image and metadataRevision 0. The text is written by creators: render it as text, never as markup, and expect links to be empty or https.

Image URLs are content-addressed: image.cid is a hash of the picture and image.url serves that picture to any origin, so a URL never changes and can be cached for a year. The resource is read-only (creators edit details in the app). The edge caches a full batch for about a minute, and one with a market still missing its image for 5 seconds, so batch your IDs, cache the results on your side and do not poll per card. No per-IP limit applies today; a 429 carries Retry-After.

The app’s Transactions metric counts unique protocol transactions; it is separate from trading volume and from an activity page’s row count. A catch-up in progress or unavailable data is not a current zero, and a chain reorganization can lower the count. The nine public data resources do not include a counter endpoint, and the public SDK has no counter method.

Honor freshness metadata and Retry-After. Display delayed data as delayed; do not turn errors into zero volume or empty markets. Poll visible views without overlapping requests, starting around every 15 seconds, and pause while hidden or offline.

The polling interval is guidance, not a guarantee that platform protection will admit every request. A platform-generated 403 challenge can be JSON or HTML and can arrive before application CORS handling, so a cross-origin browser may see only a network or CORS failure. Retry-After is a minimum wait, not a promise that a challenge ends then. Back off with jitter; do not bypass protection or retry in a tight loop.

This is indexed polling, not a WebSocket stream or a latency guarantee. Bid queries require an owner and a specific auction.

In the published SDK, isCurrentData(page) is true only when freshness is fresh and checkedAt is no more than 180 seconds old (or 30 seconds ahead). It checks reported metadata only: it does not compare with an earlier response, query RPC or authenticate the server. Recheck retained responses before rendering them.

lagBlocks is finalized minus indexed; headLagBlocks is latest minus indexed; finalityLagBlocks is latest minus finalized. A zero lagBlocks can still describe an old finalized prefix, and a fresh checkedAt does not make an old indexedTimestamp current. Unavailable head evidence is unavailable, not zero delay.

feedIdentity repeats the feed’s release, binding and reorg identity. deploymentIdentity is separate and can be null. Verify any supplied deployment binding against a reviewed manifest and fresh chain state before preparing a transaction.

Read auctions and token details
import { createOxleyDataClient, isCurrentData } from '@oxley/sdk/data';

const data = createOxleyDataClient({
  baseUrl: 'https://app.oxley.fun/api/data/v1',
  chainId: 99801,
});
const page = await data.auctions({ model: 'cca', limit: 20 });
if (isCurrentData(page)) console.log(page.items);
// Otherwise show a delayed/unavailable state, not an empty success.

// Names, descriptions, socials and images for any number of dealId values.
const ids = page.items.map((auction) => auction.dealId);
const { items } = await data.tokens({ ids });
for (const token of items) console.log(token.name, token.symbol, token.image?.url);
const unlisted = ids.filter((id) => !items.some((token) => token.dealId === id));

Independent quotes

Create the trading client, createOxleyClient from @oxley/sdk, with the reviewed deployment manifest and your own viem RPC client. Verify the deployment, discover an active market, then use quote or prepareSwap for the actual wallet or executor that will call the curve. The SDK checks chain, contract and market bindings; quotes carry a block number and hash.

prepareSwap computes the minimum locally from the RPC output and the selected slippage: floor(amountOut * (10000 - slippageBps) / 10000), using integer units. A zero minimum is rejected. Never trust a backend-provided minimum or compare two backend numbers as a substitute for the independent quote.

Confirm exact approvals, obtain a fresh quote and use checkSwap with simulation enabled before signing. Reject stale or failed reads instead of falling back to an API quote. Keep the input, pair, caller, deadline and selected minimum bound to the reviewed transaction.

Quote and prepare a swap
import { createPublicClient, http } from 'viem';
import { createOxleyClient, testnetDeployment } from '@oxley/sdk';

const publicClient = createPublicClient({ transport: http('https://testnet-rpc.elysium.kinetiq.xyz') });
const sdk = createOxleyClient({ deployment: testnetDeployment, publicClient });
await sdk.verifyDeployment();

// dealId is the market's bytes32 id; wallet is the address that will call the curve.
const { market } = await sdk.getMarket(dealId);
const swap = await sdk.prepareSwap({
  marketId: dealId, tokenIn: market.quoteToken, tokenOut: market.coin,
  amountIn: 10_000_000n, // 10 USDC, six decimals
  caller: wallet, slippageBps: 50,
});
const funding = await sdk.checkSwap(swap); // balance, allowance, exact approvals, Terms
// Send funding.approvals in order and wait for receipts, prepare a fresh swap,
// run checkSwap(fresh, true) to simulate, then send fresh.transaction from wallet.

Terms and integrator fees

The curve and the bid hook require a wallet to have accepted the Terms of Use once the bound registry enforces them. getTermsStatus reports whether acceptance is enforced and whether the account has accepted, and prepareAcceptTerms returns an unsigned, simulated acceptTerms transaction, or null when nothing is required. Accepting is the wallet owner’s own act: show the text at the terms uri before it is signed. The SDK does not relay gasless acceptances.

prepareSwapWithFee adds your own fee, paid in USDC, to a direct trade without touching the protocol fees or the user’s minimum output. feeBps is an integer from 1 to 100. It returns an ordered call batch for EIP-5792 wallet_sendCalls, which is atomic only on wallets that support batching, and the same calls as a sequential fallback that is not atomic: a buy pays the fee before the trade, a sell pays it after. checkSwapWithFee re-quotes and re-derives every call. Fees apply to the direct, self-custodied path where the user’s own wallet sends the calls, and the integrator discloses its fee to the user.

Check Terms and add an integrator fee
// sdk, market, dealId and wallet are as in the trading example.
const terms = await sdk.getTermsStatus(wallet); // { enforced, accepted, requiredVersion, termsHash, uri, ... }
if (terms.enforced && !terms.accepted) {
  // Show the text at terms.uri; the wallet owner accepts with their own signature.
  const accept = await sdk.prepareAcceptTerms({ account: wallet });
}

// An integrator fee on top of a direct trade: 1 to 100 basis points, paid in USDC.
const prepared = await sdk.prepareSwapWithFee({
  marketId: dealId, tokenIn: market.quoteToken, tokenOut: market.coin,
  amountIn: 10_000_000n, caller: wallet, slippageBps: 100,
  feeRecipient: treasury, feeBps: 50, // 0.5%
});
await sdk.checkSwapWithFee(prepared); // re-quote and re-verify every call
// prepared.batch is an EIP-5792 wallet_sendCalls request; prepared.sequential holds the same calls, not atomic.

Aggregators and exchanges

Trading settles atomically through the curve's quoteBuy/quoteSell and buy/sell entrypoints. It needs no Oxley API key, callback, provider allowlist or Uniswap v4 hook. The immediate caller supplies input and receives output; an aggregator performs its own final payout.

Provider handoff covers addresses, discovery and exchange responsibilities.

Exchanges retain their own listing, custody, deposit-crediting, withdrawal-signing, confirmation and reorg policies. Use chain and contract/market identifiers, not token tickers, to identify assets.

Auction transactions and ABIs

createOxleyAuctionClient (@oxley/sdk/auctions) verifies the reviewed controller, bid router, adapter, bid hook and exposure helper through RPC. Bids are Dynamic Bids. getDynamicBidLimits reads a wallet’s standing at one block: its ceiling and allowance, live-bid slots, balance, Terms standing and maximumBid. prepareDynamicBid builds the exact approvals and the bid-router call, with a witness for each of the wallet’s earlier bids and a previous tick derived from the auction. Pass simulate: true once the balance and approvals exist to simulate the router call from the caller. prepareDynamicRebid exits one outbid bid and bids again in one transaction, once the auction has met its minimum raise.

prepareRefund and prepareClaim target the auction resolved onchain. Partial-fill exits require explicit checkpoint hints (partialFill); confirm the exit receipt before claiming tokens.

The SDK mirrors the bid hook’s rules, checks them against the deployed hook, and refuses what the hook or auction would refuse before it returns a transaction, as an OxleyError with a code and details. The hook stays the authority. See Dynamic Bids for the limits.

A new bid belongs to its transaction caller. Refunds and claims pay the recorded bid owner, even when another caller triggers them. Accepted-bid fees are not refunded with unused principal. Do not treat an executor-owned bid as an immediate payout to its end user.

Auction integration guide and example cover recovery and simulations. The package includes the full compiler ABI JSON of the deployed contracts (curve, bid router, bid hook, terms registry, auction controller, adapter, registry, exposure helper, creator account and factory, bond escrow, entry controller, fee router) and the vendor CCA, plus typed ABI exports.

Bid, rebid, refund and claim
import { createOxleyAuctionClient } from '@oxley/sdk/auctions';

// testnetDeployment and publicClient are as in the trading example.
const auctions = createOxleyAuctionClient({ deployment: testnetDeployment, publicClient });

// owner is the bidding wallet; maxPriceQ96 is a raw Q96 price on the auction's tick grid.
const limits = await auctions.getDynamicBidLimits({ dealId, owner });
if (limits.maximumBid >= limits.minimumBid) {
  const bid = await auctions.prepareDynamicBid({ dealId, caller: owner, entered: limits.minimumBid, maxPriceQ96 });
  // Send bid.approvals in order and wait for receipts, then prepare again with simulate: true.
  const checked = await auctions.prepareDynamicBid({ dealId, caller: owner, entered: limits.minimumBid, maxPriceQ96, simulate: true });
  // Send checked.transaction from owner.
}

// An outbid bid, once the auction has met its minimum raise: exit it and bid again in one transaction.
const rebid = await auctions.prepareDynamicRebid({ dealId, caller: owner, oldBidId, entered, maxPriceQ96, simulate: true });

// After the auction ends: exit the bid (refund), wait for the receipt, then claim the coins.
const exit = await auctions.prepareRefund({ dealId, bidId, caller: owner }); // partialFill: { lastFullyFilledCheckpointBlock, outbidBlock } for a partly filled bid
const claim = await auctions.prepareClaim({ dealId, bidId, caller: owner });

Launch auctions

createOxleyLaunchClient (@oxley/sdk/launch) prepares one unsigned, simulated step at a time. prepareLaunch returns the next stage: terms (only while the registry enforces them), setup (the creator account), reset (an allowance reset, when needed), approve (the exact launch fee, approved to the creator account) and launch. Persist the owner, draftSalt (from newDraftSalt) and launch terms before starting. Confirm each successful receipt, then call prepareLaunch again with the same intent. Once the launch has succeeded it returns stage complete with the creator account, coin, auction and end block. getLaunch reads the same state at any time, so an already-launched identity returns its account, coin and auction instead of another transaction.

The creator pays the 1.5 USDC launch fee plus the separate 0.5 HYPE operating bond and gas; the bond is the exact value of the launch transaction. The helpers preserve the original creator’s bond ownership and the existing unused-bond return rules. They add no sponsorship and no USDC-to-HYPE conversion, and HYPE is not a fee, bid or trade asset. The fee spender and launch target are the creator account, not the bid router.

The client verifies contract hashes, account ownership, launch availability, exact fee and bond, current balances and the effective auction floor through RPC. The duration is an exact number of blocks (14,400 to 72,000 per hour), from durationBlocks, secondsPerBlock or the measured block rate. Preserve the prepared transaction’s gasPrice: launch checks the escrow’s 1 gwei gas-price cap and simulates with that price. A stale observation, pending wallet transaction or failed simulation blocks preparation. The launch method has no onchain deadline: discard expired preparations and prepare again before signing.

Launch guide and launch example cover terms, price units and recovery. Onchain name and symbol are supplied at launch; descriptions, links and the image are published separately with @oxley/sdk/metadata.

Prepare a launch
import { parseUnits } from 'viem';
import { createOxleyLaunchClient, newDraftSalt, validateLaunchFloor } from '@oxley/sdk/launch';

// testnetDeployment and publicClient are as above.
const launches = createOxleyLaunchClient({ deployment: testnetDeployment, publicClient });
const intent = {
  owner, // the creator wallet; it signs every step
  draftSalt: newDraftSalt(), // generate once and persist with these terms before the first transaction
  name: 'Example Coin', symbol: 'EXAMPLE',
  floorPriceWad: parseUnits('0.00015', 24), // 24 decimals for a human USDC-per-coin price
  creatorLockDays: 30, listingCommitmentBps: 5000, auctionDurationHours: 6,
} as const;
validateLaunchFloor(intent.floorPriceWad); // refused before any chain read if it cannot raise the minimum

const step = await launches.prepareLaunch(intent);
if (step.stage === 'complete') {
  console.log(step.creatorAccount, step.launch?.coin, step.launch?.auction, step.launch?.endBlock);
} else if (step.transaction) {
  // 'terms' | 'setup' | 'reset' | 'approve' | 'launch': simulated from the owner. The launch step's value is the 0.5 HYPE bond.
  // Sign and send step.transaction from the owner, wait for a successful receipt, then call prepareLaunch(intent) again.
} // 'scheduled' | 'execute' | 'refund': a schedule is pending for this account.

Scheduled launches

prepareScheduledLaunch takes the launch input plus startTime, in whole Unix seconds from 18 minutes to 7 days 23 hours ahead. It returns the immediate launch’s steps ending in schedule, which takes the 1.5 USDC fee and the 0.5 HYPE bond at once and holds them, with the ticker, until the start. A scheduled launch cannot be cancelled.

getScheduledLaunch reads the phase (none, pending, executable, expired, executed or refunded), the stored terms, the window and the ticker hold. For an account whose schedule is pending, prepareLaunch and prepareScheduledLaunch return stage scheduled (nothing to send before the start), execute (in the 24 hour window) or refund (after it) instead of refusing it.

Anyone may send the transaction prepareExecuteScheduledLaunch prepares, from the start for 24 hours. The protocol keeper normally does, and the bond repays the sender’s gas (at most 12,000,000 gas at 1 gwei). Anyone may send the one prepareRefundScheduledLaunch prepares, strictly after that window: the launch fee returns to the original creator and the bond becomes a refund balance that only the original creator claims. The sender pays the gas of a refund, and the keeper does not send it. A bot that schedules should be ready to execute its own launch.

Schedule, execute and refund
// launches and intent are as in the launch example.
// A launch that starts later: the same steps, ending in 'schedule'. The fee and bond are taken now; there is no cancel.
const scheduled = await launches.prepareScheduledLaunch({ ...intent, startTime: Math.floor(Date.now() / 1000) + 3 * 3600 });

// Any creator account can be named by { creatorAccount }, { dealId } or { owner, draftSalt }.
const state = await launches.getScheduledLaunch({ creatorAccount });
if (state.executable) {
  const run = await launches.prepareExecuteScheduledLaunch({ creatorAccount, caller: agent }); // anyone, from the start for 24 hours
} else if (state.refundable) {
  const refund = await launches.prepareRefundScheduledLaunch({ creatorAccount, caller: agent }); // anyone, after the window
}

Bond and creator-fee claims

Every creator read and claim names the account by { owner, draftSalt }, { creatorAccount } or { dealId }, so a bot or a new device needs only what the chain shows. Each result carries the account’s original creator as owner.

getBondRefund reports the unused 0.5 HYPE operating bond that the creator account and the escrow hold, with a reason: available, processing, scheduled, empty, not-launched or not-beneficiary. prepareBondRefundClaim returns claimBondRefund(recipient), simulated from the original creator, who alone may send it, also after a controller handover. The recipient must accept a plain native payment.

getCreatorFees reports the creator’s fee share in USDC (credited, and not yet checkpointed), when the lock ends (unlockAt) and a reason: available, locked, inactive, empty, not-launched or not-beneficiary. prepareCreatorFeeClaim returns claimFees(recipient), simulated from the caller. Anyone may send it, but it pays only the fees credited to the recipient, by default the account’s current beneficiary. Claims open once the auction has succeeded and the creator lock has ended.

Claim the unused bond and creator fees
// launches is the launch client from the launch example; dealId names the launched market.
// The unused operating bond (native HYPE): only the original creator wallet may send the claim.
const bond = await launches.getBondRefund({ dealId }); // reason: available | processing | scheduled | empty | not-launched | not-beneficiary
if (bond.claimable) {
  const claim = await launches.prepareBondRefundClaim({ dealId, owner, recipient: owner });
}

// The creator's trading-fee share (USDC): anyone may send it, and it pays only the recipient.
const fees = await launches.getCreatorFees({ dealId }); // reason: available | locked | inactive | empty | not-launched | not-beneficiary
if (fees.claimable) {
  const claim = await launches.prepareCreatorFeeClaim({ dealId, caller });
}

Token details and image

createOxleyMetadataClient (@oxley/sdk/metadata) builds and sends the creator’s signed description, links and image. Name, ticker and every financial term are onchain and cannot change. prepareMetadataPublication (or prepareImagePublication) returns the exact payload and the EIP-712 data the creator account’s current controller signs; submitMetadataPublication (or submitImagePublication) sends it with the signature. The SDK holds no key, and it checks the signer against the expected controller before it sends anything.

Publishing carries the application’s own origin, so it runs from Node, bots and agents or from the application’s own pages; a browser on another site cannot publish. Reading with readTokenMetadata works anywhere. A description is up to 2,000 characters, links are HTTPS (x on x.com or twitter.com, telegram on t.me), and the image is a PNG, JPEG or WebP up to 900,000 bytes that is stored once. Sign and submit within about nine minutes.

Creator guide lists every rule and refusal code.

Publish token details
import { createOxleyMetadataClient } from '@oxley/sdk/metadata';

// launches, owner, draftSalt and publicClient are as in the launch example; signature is the controller's.
const details = createOxleyMetadataClient(); // baseUrl defaults to https://app.oxley.fun
const launch = await launches.getLaunch({ owner, draftSalt }); // creator account, coin, handover epoch and controller, read from chain
if (!launch.launch || !launch.creatorAccount || !launch.accountController) throw new Error('Launch the token first');
const prepared = await details.prepareMetadataPublication({
  dealId: launch.dealId, coin: launch.launch.coin, creator: launch.creatorAccount,
  epoch: launch.handoverCount, controller: launch.accountController,
  metadata: { description: 'Example', website: 'https://example.com', x: 'https://x.com/example', telegram: '' },
});
// The controller signs prepared.signing.typedData (EIP-712); the SDK never holds a key.
const record = await details.submitMetadataPublication(prepared, signature, { publicClient });

AI agents and bots

An agent needs an Elysium RPC and its own wallet; no Oxley API key, backend or signer is involved. It reads limits, prepares and simulates bids, rebids, claims, refunds and launches as unsigned transactions, then signs, sends and confirms each one itself.

Each failure is an OxleyError with a code and details, so an agent can branch without parsing text, and decodeOxleyRevert turns a wallet or RPC revert into a short reason. After every confirmed receipt, prepare again from fresh chain state: a prepared transaction is only as fresh as its block, and a timeout is not proof that nothing was sent. An agent signs only what its wallet owner has authorized, and accepting the Terms is always the wallet owner’s own act.

StepCallResult
Read limitsauctions.getDynamicBidLimits({ dealId, owner })Ceiling, allowance, live-bid slots, balance, Terms standing and maximumBid
Prepare a bidauctions.prepareDynamicBid({ dealId, caller, entered, maxPriceQ96 })The exact approvals and the bid transaction
SimulateThe same call with simulate: trueThe router call simulated from caller once balance and approvals exist
Rebidauctions.prepareDynamicRebid({ ..., oldBidId })Exits one outbid bid and bids again in one transaction
Refundauctions.prepareRefund({ dealId, bidId, caller, partialFill? })An unsigned exit, simulated; principal goes to the bid’s owner
Claimauctions.prepareClaim({ dealId, bidId, caller })An unsigned token claim, simulated, once the exit is confirmed
Launchlaunches.prepareLaunch(intent)The next unsigned, simulated step, then the launch read back
Schedulelaunches.prepareScheduledLaunch({ ...intent, startTime })The fee and 0.5 HYPE bond are taken now; execute and refund follow the schedule
Claim the bond or feeslaunches.prepareBondRefundClaim(...), launches.prepareCreatorFeeClaim(...)The unused bond (original creator only) and creator fees (anyone may send; the recipient is paid)
Bid as an agent
import { OxleyError } from '@oxley/sdk';
import { bidRefusal } from '@oxley/sdk/auctions';

// auctions is the auction client from the bidding example, agent the agent's own address and dealId the auction.
// send signs with the agent's own key, broadcasts and resolves on a successful receipt; the SDK never does.
const limits = await auctions.getDynamicBidLimits({ dealId, owner: agent });
if (!bidRefusal(limits, entered)) {
  try {
    for (const approval of (await auctions.prepareDynamicBid({ dealId, caller: agent, entered, maxPriceQ96 })).approvals) await send(approval);
    const ready = await auctions.prepareDynamicBid({ dealId, caller: agent, entered, maxPriceQ96, simulate: true });
    await send(ready.transaction);
  } catch (error) {
    if (error instanceof OxleyError) console.log(error.code, error.details); // branch on the code, not the text
    else throw error;
  }
}

Unsigned transactions

Swap, bid, claim, refund and approval builders return a chain ID, target, calldata and zero native transaction value. The launch and schedule steps additionally carry the exact creator-funded operating bond (0.5 HYPE) as their value and the gasPrice they were simulated at; a scheduled execution carries its gas limit. No SDK client holds keys, signs messages, submits transactions or bypasses wallet authorization. Native network gas is separate from USDC fees, bids and trade amounts.

Your wallet integration must retain submitted hashes and unknown outcomes across reloads. Check receipts and wallet activity before retrying: a timeout is not proof that nothing was broadcast. Do not clear pending state just to resend an uncertain transaction.

Amounts

USDC uses six decimals; launched tokens use 18. Use exact integer amounts in transaction requests rather than rounded display values.

For auction launches, the deployed adapter's floorPriceWad input uses 24 decimal places for a human USDC-per-token price, despite its name. For example, parseUnits('0.00001', 24) is 10000000000000000000n. Use quoteAuctionFloor and review the rounded effective price; do not convert this input using 18 decimals. validateLaunchFloor rejects a floor that cannot raise the 30,000 USDC minimum (below minimumRaiseFloor(), about 0.000101 USDC a token) and one above 1e21 (0.001 USDC a token).

Validation

The SDK has unit, ABI and package-consumer tests, a local-chain suite for bids, exits and claims, and read-only checks against the deployed testnet contracts and public feeds. In 0.7.0-next.2 the launch and creator-action calls are verified by simulation and read-only checks; no funded testnet transaction has been sent through them yet. See the validation overview.

Mainnet

The bundled manifest and public data feeds are testnet-only. Oxley must supply the reviewed mainnet chain and USDC-bound contract graph, runtime pins, verification links, deployment block and active markets. Auction creation also needs reviewed launchBindings: creator-factory, entry-controller and bond-escrow bindings with exact fee and bond terms. The data service needs separately approved mainnet indexer bindings.

The mainnet requirements specify the outstanding inputs. The template intentionally rejects missing values. Changing a chain ID or token address alone does not enable mainnet. Providers still perform their normal source acceptance and settlement checks.

Confirmation

Refresh expired quotes and transaction preparations. Track the submitted hash through confirmation, then wait for indexed data to reflect the result. A successful API response is not proof that a transaction was submitted or completed. See Transaction status for explorer links and recovery steps.