curl --request GET \
--url https://api.dfns.io/allocations \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "allctn-6a3ku-bn8d7-8u5rs1oukojms7k8",
"walletId": "wa-3l3cj-l8mq7-8q78f9nopq7f1qjv",
"protocol": "0fns",
"amount": {
"kind": "Erc20",
"contract": "0x0A7660979A67E4bC51E750C628C8479ff9F458aE",
"amount": "1000000000",
"metadata": {
"network": "EthereumSepolia",
"name": "0fns",
"symbol": "0fnsSepolia",
"decimals": 6,
"tid": "erc20:0x0A7660979A67E4bC51E750C628C8479ff9F458aE"
}
},
"rewards": {
"kind": "Erc20",
"contract": "0x0A7660979A67E4bC51E750C628C8479ff9F458aE",
"amount": "5000000",
"metadata": {
"network": "EthereumSepolia",
"name": "0fns",
"symbol": "0fnsSepolia",
"decimals": 6,
"tid": "erc20:0x0A7660979A67E4bC51E750C628C9479ff9F458aE"
}
},
"dateCreated": "2025-10-09T10:57:55.758Z"
}
],
"nextPageToken": "<string>"
}curl --request GET \
--url https://api.dfns.io/allocations \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "allctn-6a3ku-bn8d7-8u5rs1oukojms7k8",
"walletId": "wa-3l3cj-l8mq7-8q78f9nopq7f1qjv",
"protocol": "0fns",
"amount": {
"kind": "Erc20",
"contract": "0x0A7660979A67E4bC51E750C628C8479ff9F458aE",
"amount": "1000000000",
"metadata": {
"network": "EthereumSepolia",
"name": "0fns",
"symbol": "0fnsSepolia",
"decimals": 6,
"tid": "erc20:0x0A7660979A67E4bC51E750C628C8479ff9F458aE"
}
},
"rewards": {
"kind": "Erc20",
"contract": "0x0A7660979A67E4bC51E750C628C8479ff9F458aE",
"amount": "5000000",
"metadata": {
"network": "EthereumSepolia",
"name": "0fns",
"symbol": "0fnsSepolia",
"decimals": 6,
"tid": "erc20:0x0A7660979A67E4bC51E750C628C9479ff9F458aE"
}
},
"dateCreated": "2025-10-09T10:57:55.758Z"
}
],
"nextPageToken": "<string>"
}AccountUser)CustomerEmployee)EndUser)Allocations:Read: Always required.Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
Maximum number of items to return.
1 <= x <= 500Opaque token used to retrieve the next page. Returned as nextPageToken from the previous request.
1Success
Current page items.
Show child attributes
Unique identifier for the allocation investment.
1 - 64"allctn-7mnn0-rltpq-9bvps60gjm09td0j"
Wallet id.
1 - 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.
Show child attributes
Native Show child attributes
Algorand, AlgorandTestnet, Aptos, AptosTestnet, ArbitrumOne, ArbitrumSepolia, ArcTestnet, AvalancheC, AvalancheCFuji, BabylonGenesis, BabylonTestnet5, Base, BaseSepolia, Berachain, BerachainBepolia, Bitcoin, BitcoinSignet, BitcoinTestnet3, BitcoinCash, Bob, BobSepolia, Bsc, BscTestnet, Canton, CantonTestnet, Cardano, CardanoPreprod, Celo, CeloAlfajores, Codex, CodexSepolia, CosmosHub4, CosmosIcsTestnet, Dogecoin, Ethereum, EthereumClassic, EthereumClassicMordor, EthereumGoerli, EthereumSepolia, EthereumHolesky, EthereumHoodi, FantomOpera, FantomTestnet, FlareC, FlareCCoston2, FlowEvm, FlowEvmTestnet, Hedera, HederaTestnet, Ink, InkSepolia, InternetComputer, Ion, IonTestnet, Iota, IotaTestnet, Kaspa, Kusama, KusamaAssetHub, Litecoin, Near, NearTestnet, Optimism, OptimismSepolia, Origyn, Plasma, PlasmaTestnet, Plume, PlumeSepolia, Paseo, PaseoAssetHub, Polkadot, PolkadotAssetHub, Polygon, PolygonAmoy, Polymesh, PolymeshTestnet, Race, RaceSepolia, SeiAtlantic2, SeiPacific1, Solana, SolanaDevnet, Starknet, StarknetSepolia, Stellar, StellarTestnet, Sui, SuiTestnet, Tezos, TezosGhostnet, TempoAndantino, Tsc, TscTestnet1, Ton, TonTestnet, Tron, TronNile, Westend, WestendAssetHub, XrpLedger, XrpLedgerTestnet The total rewards earned so far in this allocation.
Show child attributes
Native Show child attributes
Algorand, AlgorandTestnet, Aptos, AptosTestnet, ArbitrumOne, ArbitrumSepolia, ArcTestnet, AvalancheC, AvalancheCFuji, BabylonGenesis, BabylonTestnet5, Base, BaseSepolia, Berachain, BerachainBepolia, Bitcoin, BitcoinSignet, BitcoinTestnet3, BitcoinCash, Bob, BobSepolia, Bsc, BscTestnet, Canton, CantonTestnet, Cardano, CardanoPreprod, Celo, CeloAlfajores, Codex, CodexSepolia, CosmosHub4, CosmosIcsTestnet, Dogecoin, Ethereum, EthereumClassic, EthereumClassicMordor, EthereumGoerli, EthereumSepolia, EthereumHolesky, EthereumHoodi, FantomOpera, FantomTestnet, FlareC, FlareCCoston2, FlowEvm, FlowEvmTestnet, Hedera, HederaTestnet, Ink, InkSepolia, InternetComputer, Ion, IonTestnet, Iota, IotaTestnet, Kaspa, Kusama, KusamaAssetHub, Litecoin, Near, NearTestnet, Optimism, OptimismSepolia, Origyn, Plasma, PlasmaTestnet, Plume, PlumeSepolia, Paseo, PaseoAssetHub, Polkadot, PolkadotAssetHub, Polygon, PolygonAmoy, Polymesh, PolymeshTestnet, Race, RaceSepolia, SeiAtlantic2, SeiPacific1, Solana, SolanaDevnet, Starknet, StarknetSepolia, Stellar, StellarTestnet, Sui, SuiTestnet, Tezos, TezosGhostnet, TempoAndantino, Tsc, TscTestnet1, Ton, TonTestnet, Tron, TronNile, Westend, WestendAssetHub, XrpLedger, XrpLedgerTestnet token to use as paginationToken to request the next page.
Was this page helpful?