Allocations
Reference for the DFNS Allocations API, which lets you earn rewards on your crypto holdings through integrated rewards providers across supported chains.
Providers
| Provider | Description | Supported Chains |
|---|---|---|
| 0fns | The first allocation protocol available in DFNS Allocations. It is an extension to the M0 USD-based stablecoin $M that offers rewards to holders. With 0fns you can trade your USDC on Ethereum into 0fns and begin earning rewards right away. | Ethereum Mainnet, Ethereum Sepolia |
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.
Required string length:
1 - 64Pattern:
^allctn-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$Example:
"allctn-7mnn0-rltpq-9bvps60gjm09td0j"
Wallet id.
Required string length:
1 - 64Pattern:
^wa-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$Example:
"wa-5pfuu-9euek-h0odgb6snva8ph3k"
The DeFi protocol used for allocation generation. Currently supports OFNS protocol
Available options:
0fns 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)
Last modified on June 8, 2026