Skip to main content
POST
Request 0fns Allocation Quote

Authentication

✅ Organization User (CustomerEmployee)
❌ Delegated User (EndUser)
✅ Service Account

Required Permissions

No permission required.

Authorizations

Authorization
string
header
required

Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows

Body

application/json

Request a 0fns conversion price quote (deposit: stablecoin→0fns; withdraw: 0fns→stablecoin).

walletId
string
required

Wallet id.

Required string length: 1 - 64
Pattern: ^wa-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$
Example:

"wa-5pfuu-9euek-h0odgb6snva8ph3k"

protocol
enum<string>
required
Available options:
0fns
kind
enum<string>
required

The type of action being performed on the allocation investment: Deposit to add funds or Withdraw to remove funds.

Available options:
Deposit,
Withdraw
sourceAsset
EVM Fungible Token (ERC-20) · object
required
targetAsset
object
required

Response

200 - application/json

Success

A 0fns conversion price quote.

walletId
string
required

Wallet id.

Required string length: 1 - 64
Pattern: ^wa-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$
Example:

"wa-5pfuu-9euek-h0odgb6snva8ph3k"

protocol
enum<string>
required

The DeFi protocol used for allocation generation. See Create Allocation for each protocol's provider, deposit asset, and network.

Available options:
0fns,
SkySusds,
GauntletUsdcPrime,
SteakhouseUsdt,
GauntletUsdcPrimeBase,
SteakhouseUsdcBase,
SentoraPyusdMain
kind
enum<string>
required

The type of action being performed on the allocation investment: Deposit to add funds or Withdraw to remove funds.

Available options:
Deposit,
Withdraw
sourceAsset
Native Asset · object
required
targetAsset
Native Asset · object
required

Expected output at current market price.

estFillTime
integer
required

Estimated fill time in seconds.

dateCreated
string<date-time>
required

ISO 8601 date (must be UTC). When the quote was created.

Example:

"2023-04-14T20:41:28.715Z"

Last modified on October 1, 2026