@dfns/sdk 0.8.23 → 0.8.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/allocations/types.d.ts +98 -8
- package/generated/auth/types.d.ts +30 -3
- package/generated/exchanges/types.d.ts +1 -1
- package/generated/feeSponsors/types.d.ts +6 -6
- package/generated/keys/types.d.ts +60 -60
- package/generated/networks/types.d.ts +6 -6
- package/generated/payins/client.d.ts +8 -0
- package/generated/payins/client.js +36 -0
- package/generated/payins/delegatedClient.d.ts +10 -0
- package/generated/payins/delegatedClient.js +50 -0
- package/generated/payins/index.d.ts +3 -0
- package/generated/payins/index.js +19 -0
- package/generated/payins/types.d.ts +45 -0
- package/generated/payins/types.js +2 -0
- package/generated/payouts/types.d.ts +309 -9
- package/generated/permissions/types.d.ts +2 -2
- package/generated/policies/types.d.ts +462 -234
- package/generated/signers/client.d.ts +5 -0
- package/generated/signers/client.js +25 -0
- package/generated/signers/delegatedClient.d.ts +2 -0
- package/generated/signers/delegatedClient.js +27 -0
- package/generated/signers/types.d.ts +99 -0
- package/generated/swaps/types.d.ts +10 -10
- package/generated/vaults/client.d.ts +17 -0
- package/generated/vaults/client.js +141 -0
- package/generated/vaults/delegatedClient.d.ts +25 -0
- package/generated/vaults/delegatedClient.js +245 -0
- package/generated/vaults/index.d.ts +3 -0
- package/generated/vaults/index.js +19 -0
- package/generated/vaults/types.d.ts +959 -0
- package/generated/vaults/types.js +2 -0
- package/generated/wallets/types.d.ts +325 -225
- package/generated/webhooks/types.d.ts +9 -9
- package/package.json +1 -1
|
@@ -19,6 +19,8 @@ export type CreateAllocationBody = {
|
|
|
19
19
|
};
|
|
20
20
|
/** The slippage tolerance for this trade in [basis point](https://en.wikipedia.org/wiki/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%. */
|
|
21
21
|
slippageBps: number;
|
|
22
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
23
|
+
feeSponsorId?: string | undefined;
|
|
22
24
|
} | {
|
|
23
25
|
/** Wallet id. */
|
|
24
26
|
walletId: string;
|
|
@@ -29,6 +31,8 @@ export type CreateAllocationBody = {
|
|
|
29
31
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
30
32
|
/** USDS amount in smallest unit, e.g. "1000000000000000000" = 1 USDS */
|
|
31
33
|
amount: string;
|
|
34
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
35
|
+
feeSponsorId?: string | undefined;
|
|
32
36
|
} | {
|
|
33
37
|
/** Wallet id. */
|
|
34
38
|
walletId: string;
|
|
@@ -39,6 +43,8 @@ export type CreateAllocationBody = {
|
|
|
39
43
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
40
44
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
41
45
|
amount: string;
|
|
46
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
47
|
+
feeSponsorId?: string | undefined;
|
|
42
48
|
} | {
|
|
43
49
|
/** Wallet id. */
|
|
44
50
|
walletId: string;
|
|
@@ -49,6 +55,8 @@ export type CreateAllocationBody = {
|
|
|
49
55
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
50
56
|
/** USDT amount in smallest unit, e.g. "1000000" = 1 USDT */
|
|
51
57
|
amount: string;
|
|
58
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
59
|
+
feeSponsorId?: string | undefined;
|
|
52
60
|
} | {
|
|
53
61
|
/** Wallet id. */
|
|
54
62
|
walletId: string;
|
|
@@ -59,6 +67,8 @@ export type CreateAllocationBody = {
|
|
|
59
67
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
60
68
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
61
69
|
amount: string;
|
|
70
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
71
|
+
feeSponsorId?: string | undefined;
|
|
62
72
|
} | {
|
|
63
73
|
/** Wallet id. */
|
|
64
74
|
walletId: string;
|
|
@@ -69,6 +79,8 @@ export type CreateAllocationBody = {
|
|
|
69
79
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
70
80
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
71
81
|
amount: string;
|
|
82
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
83
|
+
feeSponsorId?: string | undefined;
|
|
72
84
|
} | {
|
|
73
85
|
/** Wallet id. */
|
|
74
86
|
walletId: string;
|
|
@@ -79,6 +91,8 @@ export type CreateAllocationBody = {
|
|
|
79
91
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
80
92
|
/** PYUSD amount in smallest unit, e.g. "1000000" = 1 PYUSD */
|
|
81
93
|
amount: string;
|
|
94
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
95
|
+
feeSponsorId?: string | undefined;
|
|
82
96
|
};
|
|
83
97
|
export type CreateAllocationResponse = {
|
|
84
98
|
/** Unique identifier for the allocation investment. */
|
|
@@ -103,7 +117,7 @@ export type CreateAllocationResponse = {
|
|
|
103
117
|
amount: string;
|
|
104
118
|
}) & {
|
|
105
119
|
metadata: {
|
|
106
|
-
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
120
|
+
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "BesuTestnet2" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "Robinhood" | "RobinhoodSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
107
121
|
name?: string | undefined;
|
|
108
122
|
symbol?: string | undefined;
|
|
109
123
|
decimals: number;
|
|
@@ -124,7 +138,7 @@ export type CreateAllocationResponse = {
|
|
|
124
138
|
amount: string;
|
|
125
139
|
}) & {
|
|
126
140
|
metadata: {
|
|
127
|
-
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
141
|
+
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "BesuTestnet2" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "Robinhood" | "RobinhoodSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
128
142
|
name?: string | undefined;
|
|
129
143
|
symbol?: string | undefined;
|
|
130
144
|
decimals: number;
|
|
@@ -169,6 +183,8 @@ export type CreateAllocationResponse = {
|
|
|
169
183
|
};
|
|
170
184
|
/** The slippage tolerance for this trade in [basis point](https://en.wikipedia.org/wiki/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%. */
|
|
171
185
|
slippageBps: number;
|
|
186
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
187
|
+
feeSponsorId?: string | undefined;
|
|
172
188
|
} | {
|
|
173
189
|
/** The type of action being performed on the allocation investment: Deposit to add funds or Withdraw to remove funds. */
|
|
174
190
|
kind: "Deposit" | "Withdraw";
|
|
@@ -176,6 +192,8 @@ export type CreateAllocationResponse = {
|
|
|
176
192
|
externalId?: string | undefined;
|
|
177
193
|
/** Underlying token amount in smallest unit, e.g. "1000000" = 1 USDC. Applies to both deposits and withdrawals. */
|
|
178
194
|
amount: string;
|
|
195
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
196
|
+
feeSponsorId?: string | undefined;
|
|
179
197
|
}) | ({
|
|
180
198
|
/** Wallet id. */
|
|
181
199
|
walletId: string;
|
|
@@ -197,6 +215,8 @@ export type CreateAllocationResponse = {
|
|
|
197
215
|
};
|
|
198
216
|
/** The slippage tolerance for this trade in [basis point](https://en.wikipedia.org/wiki/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%. */
|
|
199
217
|
slippageBps: number;
|
|
218
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
219
|
+
feeSponsorId?: string | undefined;
|
|
200
220
|
} | {
|
|
201
221
|
/** Wallet id. */
|
|
202
222
|
walletId: string;
|
|
@@ -207,6 +227,8 @@ export type CreateAllocationResponse = {
|
|
|
207
227
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
208
228
|
/** USDS amount in smallest unit, e.g. "1000000000000000000" = 1 USDS */
|
|
209
229
|
amount: string;
|
|
230
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
231
|
+
feeSponsorId?: string | undefined;
|
|
210
232
|
} | {
|
|
211
233
|
/** Wallet id. */
|
|
212
234
|
walletId: string;
|
|
@@ -217,6 +239,8 @@ export type CreateAllocationResponse = {
|
|
|
217
239
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
218
240
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
219
241
|
amount: string;
|
|
242
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
243
|
+
feeSponsorId?: string | undefined;
|
|
220
244
|
} | {
|
|
221
245
|
/** Wallet id. */
|
|
222
246
|
walletId: string;
|
|
@@ -227,6 +251,8 @@ export type CreateAllocationResponse = {
|
|
|
227
251
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
228
252
|
/** USDT amount in smallest unit, e.g. "1000000" = 1 USDT */
|
|
229
253
|
amount: string;
|
|
254
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
255
|
+
feeSponsorId?: string | undefined;
|
|
230
256
|
} | {
|
|
231
257
|
/** Wallet id. */
|
|
232
258
|
walletId: string;
|
|
@@ -237,6 +263,8 @@ export type CreateAllocationResponse = {
|
|
|
237
263
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
238
264
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
239
265
|
amount: string;
|
|
266
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
267
|
+
feeSponsorId?: string | undefined;
|
|
240
268
|
} | {
|
|
241
269
|
/** Wallet id. */
|
|
242
270
|
walletId: string;
|
|
@@ -247,6 +275,8 @@ export type CreateAllocationResponse = {
|
|
|
247
275
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
248
276
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
249
277
|
amount: string;
|
|
278
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
279
|
+
feeSponsorId?: string | undefined;
|
|
250
280
|
} | {
|
|
251
281
|
/** Wallet id. */
|
|
252
282
|
walletId: string;
|
|
@@ -257,6 +287,8 @@ export type CreateAllocationResponse = {
|
|
|
257
287
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
258
288
|
/** PYUSD amount in smallest unit, e.g. "1000000" = 1 PYUSD */
|
|
259
289
|
amount: string;
|
|
290
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
291
|
+
feeSponsorId?: string | undefined;
|
|
260
292
|
});
|
|
261
293
|
/** The failure reason, if any. Only present when status is Failed. */
|
|
262
294
|
failureReason?: string | undefined;
|
|
@@ -283,6 +315,8 @@ export type CreateAllocationActionBody = {
|
|
|
283
315
|
};
|
|
284
316
|
/** The slippage tolerance for this trade in [basis point](https://en.wikipedia.org/wiki/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%. */
|
|
285
317
|
slippageBps: number;
|
|
318
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
319
|
+
feeSponsorId?: string | undefined;
|
|
286
320
|
} | {
|
|
287
321
|
/** The type of action being performed on the allocation investment: Deposit to add funds or Withdraw to remove funds. */
|
|
288
322
|
kind: "Deposit" | "Withdraw";
|
|
@@ -290,6 +324,8 @@ export type CreateAllocationActionBody = {
|
|
|
290
324
|
externalId?: string | undefined;
|
|
291
325
|
/** Underlying token amount in smallest unit, e.g. "1000000" = 1 USDC. Applies to both deposits and withdrawals. */
|
|
292
326
|
amount: string;
|
|
327
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
328
|
+
feeSponsorId?: string | undefined;
|
|
293
329
|
};
|
|
294
330
|
export type CreateAllocationActionParams = {
|
|
295
331
|
/** Unique identifier for the allocation investment. */
|
|
@@ -318,7 +354,7 @@ export type CreateAllocationActionResponse = {
|
|
|
318
354
|
amount: string;
|
|
319
355
|
}) & {
|
|
320
356
|
metadata: {
|
|
321
|
-
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
357
|
+
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "BesuTestnet2" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "Robinhood" | "RobinhoodSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
322
358
|
name?: string | undefined;
|
|
323
359
|
symbol?: string | undefined;
|
|
324
360
|
decimals: number;
|
|
@@ -339,7 +375,7 @@ export type CreateAllocationActionResponse = {
|
|
|
339
375
|
amount: string;
|
|
340
376
|
}) & {
|
|
341
377
|
metadata: {
|
|
342
|
-
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
378
|
+
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "BesuTestnet2" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "Robinhood" | "RobinhoodSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
343
379
|
name?: string | undefined;
|
|
344
380
|
symbol?: string | undefined;
|
|
345
381
|
decimals: number;
|
|
@@ -384,6 +420,8 @@ export type CreateAllocationActionResponse = {
|
|
|
384
420
|
};
|
|
385
421
|
/** The slippage tolerance for this trade in [basis point](https://en.wikipedia.org/wiki/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%. */
|
|
386
422
|
slippageBps: number;
|
|
423
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
424
|
+
feeSponsorId?: string | undefined;
|
|
387
425
|
} | {
|
|
388
426
|
/** The type of action being performed on the allocation investment: Deposit to add funds or Withdraw to remove funds. */
|
|
389
427
|
kind: "Deposit" | "Withdraw";
|
|
@@ -391,6 +429,8 @@ export type CreateAllocationActionResponse = {
|
|
|
391
429
|
externalId?: string | undefined;
|
|
392
430
|
/** Underlying token amount in smallest unit, e.g. "1000000" = 1 USDC. Applies to both deposits and withdrawals. */
|
|
393
431
|
amount: string;
|
|
432
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
433
|
+
feeSponsorId?: string | undefined;
|
|
394
434
|
}) | ({
|
|
395
435
|
/** Wallet id. */
|
|
396
436
|
walletId: string;
|
|
@@ -412,6 +452,8 @@ export type CreateAllocationActionResponse = {
|
|
|
412
452
|
};
|
|
413
453
|
/** The slippage tolerance for this trade in [basis point](https://en.wikipedia.org/wiki/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%. */
|
|
414
454
|
slippageBps: number;
|
|
455
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
456
|
+
feeSponsorId?: string | undefined;
|
|
415
457
|
} | {
|
|
416
458
|
/** Wallet id. */
|
|
417
459
|
walletId: string;
|
|
@@ -422,6 +464,8 @@ export type CreateAllocationActionResponse = {
|
|
|
422
464
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
423
465
|
/** USDS amount in smallest unit, e.g. "1000000000000000000" = 1 USDS */
|
|
424
466
|
amount: string;
|
|
467
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
468
|
+
feeSponsorId?: string | undefined;
|
|
425
469
|
} | {
|
|
426
470
|
/** Wallet id. */
|
|
427
471
|
walletId: string;
|
|
@@ -432,6 +476,8 @@ export type CreateAllocationActionResponse = {
|
|
|
432
476
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
433
477
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
434
478
|
amount: string;
|
|
479
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
480
|
+
feeSponsorId?: string | undefined;
|
|
435
481
|
} | {
|
|
436
482
|
/** Wallet id. */
|
|
437
483
|
walletId: string;
|
|
@@ -442,6 +488,8 @@ export type CreateAllocationActionResponse = {
|
|
|
442
488
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
443
489
|
/** USDT amount in smallest unit, e.g. "1000000" = 1 USDT */
|
|
444
490
|
amount: string;
|
|
491
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
492
|
+
feeSponsorId?: string | undefined;
|
|
445
493
|
} | {
|
|
446
494
|
/** Wallet id. */
|
|
447
495
|
walletId: string;
|
|
@@ -452,6 +500,8 @@ export type CreateAllocationActionResponse = {
|
|
|
452
500
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
453
501
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
454
502
|
amount: string;
|
|
503
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
504
|
+
feeSponsorId?: string | undefined;
|
|
455
505
|
} | {
|
|
456
506
|
/** Wallet id. */
|
|
457
507
|
walletId: string;
|
|
@@ -462,6 +512,8 @@ export type CreateAllocationActionResponse = {
|
|
|
462
512
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
463
513
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
464
514
|
amount: string;
|
|
515
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
516
|
+
feeSponsorId?: string | undefined;
|
|
465
517
|
} | {
|
|
466
518
|
/** Wallet id. */
|
|
467
519
|
walletId: string;
|
|
@@ -472,6 +524,8 @@ export type CreateAllocationActionResponse = {
|
|
|
472
524
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
473
525
|
/** PYUSD amount in smallest unit, e.g. "1000000" = 1 PYUSD */
|
|
474
526
|
amount: string;
|
|
527
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
528
|
+
feeSponsorId?: string | undefined;
|
|
475
529
|
});
|
|
476
530
|
/** The failure reason, if any. Only present when status is Failed. */
|
|
477
531
|
failureReason?: string | undefined;
|
|
@@ -508,7 +562,7 @@ export type GetAllocationResponse = {
|
|
|
508
562
|
amount: string;
|
|
509
563
|
}) & {
|
|
510
564
|
metadata: {
|
|
511
|
-
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
565
|
+
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "BesuTestnet2" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "Robinhood" | "RobinhoodSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
512
566
|
name?: string | undefined;
|
|
513
567
|
symbol?: string | undefined;
|
|
514
568
|
decimals: number;
|
|
@@ -529,7 +583,7 @@ export type GetAllocationResponse = {
|
|
|
529
583
|
amount: string;
|
|
530
584
|
}) & {
|
|
531
585
|
metadata: {
|
|
532
|
-
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
586
|
+
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "BesuTestnet2" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "Robinhood" | "RobinhoodSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
533
587
|
name?: string | undefined;
|
|
534
588
|
symbol?: string | undefined;
|
|
535
589
|
decimals: number;
|
|
@@ -574,6 +628,8 @@ export type GetAllocationResponse = {
|
|
|
574
628
|
};
|
|
575
629
|
/** The slippage tolerance for this trade in [basis point](https://en.wikipedia.org/wiki/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%. */
|
|
576
630
|
slippageBps: number;
|
|
631
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
632
|
+
feeSponsorId?: string | undefined;
|
|
577
633
|
} | {
|
|
578
634
|
/** The type of action being performed on the allocation investment: Deposit to add funds or Withdraw to remove funds. */
|
|
579
635
|
kind: "Deposit" | "Withdraw";
|
|
@@ -581,6 +637,8 @@ export type GetAllocationResponse = {
|
|
|
581
637
|
externalId?: string | undefined;
|
|
582
638
|
/** Underlying token amount in smallest unit, e.g. "1000000" = 1 USDC. Applies to both deposits and withdrawals. */
|
|
583
639
|
amount: string;
|
|
640
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
641
|
+
feeSponsorId?: string | undefined;
|
|
584
642
|
}) | ({
|
|
585
643
|
/** Wallet id. */
|
|
586
644
|
walletId: string;
|
|
@@ -602,6 +660,8 @@ export type GetAllocationResponse = {
|
|
|
602
660
|
};
|
|
603
661
|
/** The slippage tolerance for this trade in [basis point](https://en.wikipedia.org/wiki/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%. */
|
|
604
662
|
slippageBps: number;
|
|
663
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
664
|
+
feeSponsorId?: string | undefined;
|
|
605
665
|
} | {
|
|
606
666
|
/** Wallet id. */
|
|
607
667
|
walletId: string;
|
|
@@ -612,6 +672,8 @@ export type GetAllocationResponse = {
|
|
|
612
672
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
613
673
|
/** USDS amount in smallest unit, e.g. "1000000000000000000" = 1 USDS */
|
|
614
674
|
amount: string;
|
|
675
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
676
|
+
feeSponsorId?: string | undefined;
|
|
615
677
|
} | {
|
|
616
678
|
/** Wallet id. */
|
|
617
679
|
walletId: string;
|
|
@@ -622,6 +684,8 @@ export type GetAllocationResponse = {
|
|
|
622
684
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
623
685
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
624
686
|
amount: string;
|
|
687
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
688
|
+
feeSponsorId?: string | undefined;
|
|
625
689
|
} | {
|
|
626
690
|
/** Wallet id. */
|
|
627
691
|
walletId: string;
|
|
@@ -632,6 +696,8 @@ export type GetAllocationResponse = {
|
|
|
632
696
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
633
697
|
/** USDT amount in smallest unit, e.g. "1000000" = 1 USDT */
|
|
634
698
|
amount: string;
|
|
699
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
700
|
+
feeSponsorId?: string | undefined;
|
|
635
701
|
} | {
|
|
636
702
|
/** Wallet id. */
|
|
637
703
|
walletId: string;
|
|
@@ -642,6 +708,8 @@ export type GetAllocationResponse = {
|
|
|
642
708
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
643
709
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
644
710
|
amount: string;
|
|
711
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
712
|
+
feeSponsorId?: string | undefined;
|
|
645
713
|
} | {
|
|
646
714
|
/** Wallet id. */
|
|
647
715
|
walletId: string;
|
|
@@ -652,6 +720,8 @@ export type GetAllocationResponse = {
|
|
|
652
720
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
653
721
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
654
722
|
amount: string;
|
|
723
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
724
|
+
feeSponsorId?: string | undefined;
|
|
655
725
|
} | {
|
|
656
726
|
/** Wallet id. */
|
|
657
727
|
walletId: string;
|
|
@@ -662,6 +732,8 @@ export type GetAllocationResponse = {
|
|
|
662
732
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
663
733
|
/** PYUSD amount in smallest unit, e.g. "1000000" = 1 PYUSD */
|
|
664
734
|
amount: string;
|
|
735
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
736
|
+
feeSponsorId?: string | undefined;
|
|
665
737
|
});
|
|
666
738
|
/** The failure reason, if any. Only present when status is Failed. */
|
|
667
739
|
failureReason?: string | undefined;
|
|
@@ -717,6 +789,8 @@ export type ListAllocationActionsResponse = {
|
|
|
717
789
|
};
|
|
718
790
|
/** The slippage tolerance for this trade in [basis point](https://en.wikipedia.org/wiki/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%. */
|
|
719
791
|
slippageBps: number;
|
|
792
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
793
|
+
feeSponsorId?: string | undefined;
|
|
720
794
|
} | {
|
|
721
795
|
/** The type of action being performed on the allocation investment: Deposit to add funds or Withdraw to remove funds. */
|
|
722
796
|
kind: "Deposit" | "Withdraw";
|
|
@@ -724,6 +798,8 @@ export type ListAllocationActionsResponse = {
|
|
|
724
798
|
externalId?: string | undefined;
|
|
725
799
|
/** Underlying token amount in smallest unit, e.g. "1000000" = 1 USDC. Applies to both deposits and withdrawals. */
|
|
726
800
|
amount: string;
|
|
801
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
802
|
+
feeSponsorId?: string | undefined;
|
|
727
803
|
}) | ({
|
|
728
804
|
/** Wallet id. */
|
|
729
805
|
walletId: string;
|
|
@@ -745,6 +821,8 @@ export type ListAllocationActionsResponse = {
|
|
|
745
821
|
};
|
|
746
822
|
/** The slippage tolerance for this trade in [basis point](https://en.wikipedia.org/wiki/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%. */
|
|
747
823
|
slippageBps: number;
|
|
824
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
825
|
+
feeSponsorId?: string | undefined;
|
|
748
826
|
} | {
|
|
749
827
|
/** Wallet id. */
|
|
750
828
|
walletId: string;
|
|
@@ -755,6 +833,8 @@ export type ListAllocationActionsResponse = {
|
|
|
755
833
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
756
834
|
/** USDS amount in smallest unit, e.g. "1000000000000000000" = 1 USDS */
|
|
757
835
|
amount: string;
|
|
836
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
837
|
+
feeSponsorId?: string | undefined;
|
|
758
838
|
} | {
|
|
759
839
|
/** Wallet id. */
|
|
760
840
|
walletId: string;
|
|
@@ -765,6 +845,8 @@ export type ListAllocationActionsResponse = {
|
|
|
765
845
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
766
846
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
767
847
|
amount: string;
|
|
848
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
849
|
+
feeSponsorId?: string | undefined;
|
|
768
850
|
} | {
|
|
769
851
|
/** Wallet id. */
|
|
770
852
|
walletId: string;
|
|
@@ -775,6 +857,8 @@ export type ListAllocationActionsResponse = {
|
|
|
775
857
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
776
858
|
/** USDT amount in smallest unit, e.g. "1000000" = 1 USDT */
|
|
777
859
|
amount: string;
|
|
860
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
861
|
+
feeSponsorId?: string | undefined;
|
|
778
862
|
} | {
|
|
779
863
|
/** Wallet id. */
|
|
780
864
|
walletId: string;
|
|
@@ -785,6 +869,8 @@ export type ListAllocationActionsResponse = {
|
|
|
785
869
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
786
870
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
787
871
|
amount: string;
|
|
872
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
873
|
+
feeSponsorId?: string | undefined;
|
|
788
874
|
} | {
|
|
789
875
|
/** Wallet id. */
|
|
790
876
|
walletId: string;
|
|
@@ -795,6 +881,8 @@ export type ListAllocationActionsResponse = {
|
|
|
795
881
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
796
882
|
/** USDC amount in smallest unit, e.g. "1000000" = 1 USDC */
|
|
797
883
|
amount: string;
|
|
884
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
885
|
+
feeSponsorId?: string | undefined;
|
|
798
886
|
} | {
|
|
799
887
|
/** Wallet id. */
|
|
800
888
|
walletId: string;
|
|
@@ -805,6 +893,8 @@ export type ListAllocationActionsResponse = {
|
|
|
805
893
|
provider?: ("M0" | "Yield.xyz") | undefined;
|
|
806
894
|
/** PYUSD amount in smallest unit, e.g. "1000000" = 1 PYUSD */
|
|
807
895
|
amount: string;
|
|
896
|
+
/** Id of the fee sponsor that will pay the network fees for this allocation. When set, allocation transactions are broadcast as sponsored user operations. */
|
|
897
|
+
feeSponsorId?: string | undefined;
|
|
808
898
|
});
|
|
809
899
|
/** The failure reason, if any. Only present when status is Failed. */
|
|
810
900
|
failureReason?: string | undefined;
|
|
@@ -847,7 +937,7 @@ export type ListAllocationsResponse = {
|
|
|
847
937
|
amount: string;
|
|
848
938
|
}) & {
|
|
849
939
|
metadata: {
|
|
850
|
-
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
940
|
+
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "BesuTestnet2" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "Robinhood" | "RobinhoodSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
851
941
|
name?: string | undefined;
|
|
852
942
|
symbol?: string | undefined;
|
|
853
943
|
decimals: number;
|
|
@@ -868,7 +958,7 @@ export type ListAllocationsResponse = {
|
|
|
868
958
|
amount: string;
|
|
869
959
|
}) & {
|
|
870
960
|
metadata: {
|
|
871
|
-
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
961
|
+
network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "Areum" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "BesuTestnet" | "BesuTestnet2" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinTestnet4" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "IconTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Movement" | "MovementTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "Rayls" | "RaylsTestnet" | "Robinhood" | "RobinhoodSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TezosShadownet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "Xdc" | "XdcApothem" | "XLayer" | "XLayerSepolia" | "XrpLedger" | "XrpLedgerTestnet";
|
|
872
962
|
name?: string | undefined;
|
|
873
963
|
symbol?: string | undefined;
|
|
874
964
|
decimals: number;
|