Allocations API
Reference for the DFNS Allocations API, which lets you earn rewards on your crypto holdings through integrated rewards providers across supported chains.
Providers
Allocations are powered by two providers: M0, which offers the0fns protocol, and Yield.xyz, which offers a set of DeFi vault strategies on Ethereum and Base. The full list of protocols, with each one’s provider, deposit asset, and network, is documented on the Create Allocation endpoint page.
For a product-level overview, see Allocations.
Flow Overview
- Create an Allocation position: Create a new allocation position by depositing/trading assets into the Allocations protocol.
- Track Status: Monitor the Allocation position execution.
- Increase/Decrease position: Add or remove assets from an existing Allocation position.
Allocation object
A allocation investment representing funds deposited to earn interest from a DeFi protocol.
Unique identifier for the allocation investment.
1 - 64^allctn-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"allctn-7mnn0-rltpq-9bvps60gjm09td0j"
Wallet id.
1 - 64^wa-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"wa-5pfuu-9euek-h0odgb6snva8ph3k"
The DeFi protocol used for allocation generation. See Create Allocation for each protocol's provider, deposit asset, and network.
0fns, SkySusds, GauntletUsdcPrime, SteakhouseUsdt, GauntletUsdcPrimeBase, SteakhouseUsdcBase, SentoraPyusdMain The total amount currently invested in this allocation.
- Native Asset
- EVM Fungible Token (ERC-20)
- Solana Fungible Token (SPL)
The total rewards earned so far in this allocation.
- Native Asset
- EVM Fungible Token (ERC-20)
- Solana Fungible Token (SPL)
The provider handling this allocation.
M0, Yield.xyz