SV3 logo

API index

Map of sv3Client namespaces to the pages that document them.

Short names on the client. Verbose selectors on chain. The SDK wraps the ABI; it does not invent writes.

Do not pass a market ID, CREATE2 salt, or client nonce into create-market. The factory assigns identity.

Get started

Reads

Actions

Floor policy

Namespaces

NamespaceUse
sv3.marketSnapshot and context bundles
sv3.quoteSame math as /math, but loads chain state if you pass an address
sv3.tradeprepare* for buys, sells, redeem, budget/target helpers
sv3.positionPosition reads, getMaxActions
sv3.authorizationgetRequirements
sv3.transactionsexecute, simulatePrepared, sendPrepared, wait
sv3.floorquote, prepare, simulate, raise, batched Multicall3 raise
sv3.networknative balance, nonce, block
sv3.errorsparse / toError
sv3.factory / sv3.directoryLaunch sequence, pause, caps
sv3.math / @repo/contract-client/mathMath
sv3.unitsparseUsdc

Entrypoints

ImportFor
@repo/contract-clientSafe app surface
@repo/contract-client/mathPure quotes
@repo/contract-client/typesasUsdcRaw, asAvmAtoms, asWad
@repo/contract-client/artifactsInterface ABIs
@repo/contract-client/adminPause helpers — not for the browser app
@repo/contract-client/testingLocal Anvil harness

@sv3-protocol/sdk is the future public name. It is not on npm yet.

What's next

Math

One page per function.

createSv3Client

How to construct the client.