Authentication
✅ Organization User (CustomerEmployee)❌ Delegated User (
EndUser)✅ Service Account
Required Permissions
Allocations:Create: Always required.Authorizations
Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows
Body
Request body for creating a allocation investment. Different protocols may have different requirements. Request body for creating a allocation investment using the 0fns protocol.
Wallet id.
64"wa-5pfuu-9euek-h0odgb6snva8ph3k"
Ofns protocol
0fns The slippage tolerance for this trade in basis point (BPS). Slippage tolerance defines the maximum price difference you're willing to accept during a trade from the estimated quote, ensuring you still receive at least a minimum number of tokens if the price shifts. One basis point equals one-hundredth of a percentage point, or 0.01%.
An optional external identifier provided by the client to ensure idempotency and prevent duplicate operations.
Response
Success
A allocation investment representing funds deposited to earn interest from a DeFi protocol.
Unique identifier for the allocation investment.
64"allctn-7mnn0-rltpq-9bvps60gjm09td0j"
Wallet id.
64"wa-5pfuu-9euek-h0odgb6snva8ph3k"
The DeFi protocol used for allocation generation. Currently supports OFNS protocol
0fns The total amount currently invested in this allocation.
- Native Asset
- EVM Fungible Token (ERC-20)
The total rewards earned so far in this allocation.
- Native Asset
- EVM Fungible Token (ERC-20)
