Skip to content
Fondaco Network
Docs
Search
Ctrl
K
Cancel
Select theme
Dark
Light
Auto
Start
Overview
Quickstarts
Wallet in 20 minutes
Solver in 20 minutes
Embed in 5 minutes
What is mocked
Reference
Relay API
Packages
Wallet SDK (TypeDoc)
Classes
NoQuoteError
RelayError
SwapClient
SwapWalletError
Interfaces
AcceptApiResponse
Accepted
ApiQuote
Attestation
BookEntry
CoinOpening
Executed
ExecuteOptions
FillStatus
FillStatusV2
Leg
LegExpectation
LimitOfferParams
LimitSide
NetworkInfo
NetworkToken
PostedOffer
Quote
QuoteParams
QuoteResponse
Receiver
RfqApiResponse
SwapClientOptions
SwapParams
SwapResult
Token
Type Aliases
ClientStage
FillStateV2
LegChecker
Settlement
SwapProgress
TokenKind
WantTerm
Variables
FINAL_STATES
Functions
encodeOfferFile
hex
unhex
Solver SDK (TypeDoc)
Classes
ExitPolicy
IndexerChain
InsufficientInventory
JobRunner
LadderPublisher
MakerSolver
NightInventory
NodeSubmitter
OnceGuard
RefPrice
RelayClient
SegmentCollision
Shortfall
SolverError
Interfaces
BidRung
BookOffer
BookUpdate
ChainConnection
CoinOpening
CompletedJob
DecodedOffer
ExitPolicyConfig
JobDispatch
JobExpect
MadeOffer
MakerConfig
MakerInventory
MakeTerms
Mid
NetworkConfig
Pair
PolicyState
PricedQuote
RefPriceBand
RelayClientOptions
RfqRequestV2
SentQuote
ShieldedRecipient
Signature
Submitter
SwapFeeOutput
SwapTerms
Token
TokenPair
WalletRuntime
Type Aliases
DevnetConnection
FeeDecl
JobHandler
MakerStatus
Pricer
Settlement
SolverKey
Validation
Variables
DEVNET_EXIT_POLICY
hex
nightToken
solverKeyFromSecret
unhex
Functions
acceptMismatch
bootstrapDevnet
bootstrapWallet
buildUserOffer
buyNight
capDust
completeLeg
connectChain
connectDevnet
decodeOffer
devSecret
envInt
expectMismatch
feeAmounts
feesMismatch
formatRecipient
formatUnits
interpolateLadder
isLoopbackHost
isLoopbackUrl
jobTokenKey
jobTokenKeyOf
ladderJobExpect
legsOf
mergeAll
midBound
midOutsideBand
networkFromEnv
nightAddress
openOffer
parseLots
parseMid
parseRecipient
parseUnits
refPriceBandFromEnv
registerDust
sellNight
serveRelay
skewBps
swapTokens
testTokens
usdmValue
validateOffer
webhookPricer
Standard
MIP draft: RFQ Quote Envelope and Fee Declaration
Security
Threat model
For agents
llms.txt
llms-full.txt
Select theme
Dark
Light
Auto
parseMid
parseMid
(
s
):
Mid
A decimal ("0.05") as an exact ratio.
Parameters
Section titled “Parameters”
Parameter
Type
s
string
Returns
Section titled “Returns”
Mid