@dfns/sdk 0.6.6-rc.1 → 0.6.6

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.
@@ -245,18 +245,24 @@ export type CreateApprovalDecisionResponse = {
245
245
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
246
246
  createDestinationAccount?: boolean | undefined;
247
247
  externalId?: string | undefined;
248
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
249
+ feeSponsorId?: string | undefined;
248
250
  } | {
249
251
  kind: "Asa";
250
252
  assetId: string;
251
253
  to: string;
252
254
  amount: string;
253
255
  externalId?: string | undefined;
256
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
257
+ feeSponsorId?: string | undefined;
254
258
  } | {
255
259
  kind: "Aip21";
256
260
  metadata: string;
257
261
  to: string;
258
262
  amount: string;
259
263
  externalId?: string | undefined;
264
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
265
+ feeSponsorId?: string | undefined;
260
266
  } | {
261
267
  kind: "Erc20";
262
268
  contract: string;
@@ -264,6 +270,8 @@ export type CreateApprovalDecisionResponse = {
264
270
  amount: string;
265
271
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
266
272
  externalId?: string | undefined;
273
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
274
+ feeSponsorId?: string | undefined;
267
275
  } | {
268
276
  kind: "Erc721";
269
277
  contract: string;
@@ -271,6 +279,8 @@ export type CreateApprovalDecisionResponse = {
271
279
  tokenId: string;
272
280
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
273
281
  externalId?: string | undefined;
282
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
283
+ feeSponsorId?: string | undefined;
274
284
  } | {
275
285
  kind: "Sep41";
276
286
  issuer: string;
@@ -279,6 +289,8 @@ export type CreateApprovalDecisionResponse = {
279
289
  amount: string;
280
290
  memo?: string | undefined;
281
291
  externalId?: string | undefined;
292
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
293
+ feeSponsorId?: string | undefined;
282
294
  } | {
283
295
  kind: "Spl" | "Spl2022";
284
296
  to: string;
@@ -286,6 +298,8 @@ export type CreateApprovalDecisionResponse = {
286
298
  mint: string;
287
299
  createDestinationAccount?: boolean | undefined;
288
300
  externalId?: string | undefined;
301
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
302
+ feeSponsorId?: string | undefined;
289
303
  } | {
290
304
  kind: "Tep74";
291
305
  to: string;
@@ -293,24 +307,32 @@ export type CreateApprovalDecisionResponse = {
293
307
  amount: string;
294
308
  memo?: string | undefined;
295
309
  externalId?: string | undefined;
310
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
311
+ feeSponsorId?: string | undefined;
296
312
  } | {
297
313
  kind: "Trc10";
298
314
  tokenId: string;
299
315
  to: string;
300
316
  amount: string;
301
317
  externalId?: string | undefined;
318
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
319
+ feeSponsorId?: string | undefined;
302
320
  } | {
303
321
  kind: "Trc20";
304
322
  contract: string;
305
323
  to: string;
306
324
  amount: string;
307
325
  externalId?: string | undefined;
326
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
327
+ feeSponsorId?: string | undefined;
308
328
  } | {
309
329
  kind: "Trc721";
310
330
  contract: string;
311
331
  to: string;
312
332
  tokenId: string;
313
333
  externalId?: string | undefined;
334
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
335
+ feeSponsorId?: string | undefined;
314
336
  };
315
337
  metadata: {
316
338
  asset: {
@@ -332,6 +354,7 @@ export type CreateApprovalDecisionResponse = {
332
354
  dateConfirmed?: string | undefined;
333
355
  approvalId?: string | undefined;
334
356
  externalId?: string | undefined;
357
+ feeSponsorId?: string | undefined;
335
358
  } | undefined;
336
359
  transactionRequest?: {
337
360
  id: string;
@@ -1699,18 +1722,24 @@ export type GetApprovalResponse = {
1699
1722
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1700
1723
  createDestinationAccount?: boolean | undefined;
1701
1724
  externalId?: string | undefined;
1725
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1726
+ feeSponsorId?: string | undefined;
1702
1727
  } | {
1703
1728
  kind: "Asa";
1704
1729
  assetId: string;
1705
1730
  to: string;
1706
1731
  amount: string;
1707
1732
  externalId?: string | undefined;
1733
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1734
+ feeSponsorId?: string | undefined;
1708
1735
  } | {
1709
1736
  kind: "Aip21";
1710
1737
  metadata: string;
1711
1738
  to: string;
1712
1739
  amount: string;
1713
1740
  externalId?: string | undefined;
1741
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1742
+ feeSponsorId?: string | undefined;
1714
1743
  } | {
1715
1744
  kind: "Erc20";
1716
1745
  contract: string;
@@ -1718,6 +1747,8 @@ export type GetApprovalResponse = {
1718
1747
  amount: string;
1719
1748
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1720
1749
  externalId?: string | undefined;
1750
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1751
+ feeSponsorId?: string | undefined;
1721
1752
  } | {
1722
1753
  kind: "Erc721";
1723
1754
  contract: string;
@@ -1725,6 +1756,8 @@ export type GetApprovalResponse = {
1725
1756
  tokenId: string;
1726
1757
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
1727
1758
  externalId?: string | undefined;
1759
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1760
+ feeSponsorId?: string | undefined;
1728
1761
  } | {
1729
1762
  kind: "Sep41";
1730
1763
  issuer: string;
@@ -1733,6 +1766,8 @@ export type GetApprovalResponse = {
1733
1766
  amount: string;
1734
1767
  memo?: string | undefined;
1735
1768
  externalId?: string | undefined;
1769
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1770
+ feeSponsorId?: string | undefined;
1736
1771
  } | {
1737
1772
  kind: "Spl" | "Spl2022";
1738
1773
  to: string;
@@ -1740,6 +1775,8 @@ export type GetApprovalResponse = {
1740
1775
  mint: string;
1741
1776
  createDestinationAccount?: boolean | undefined;
1742
1777
  externalId?: string | undefined;
1778
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1779
+ feeSponsorId?: string | undefined;
1743
1780
  } | {
1744
1781
  kind: "Tep74";
1745
1782
  to: string;
@@ -1747,24 +1784,32 @@ export type GetApprovalResponse = {
1747
1784
  amount: string;
1748
1785
  memo?: string | undefined;
1749
1786
  externalId?: string | undefined;
1787
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1788
+ feeSponsorId?: string | undefined;
1750
1789
  } | {
1751
1790
  kind: "Trc10";
1752
1791
  tokenId: string;
1753
1792
  to: string;
1754
1793
  amount: string;
1755
1794
  externalId?: string | undefined;
1795
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1796
+ feeSponsorId?: string | undefined;
1756
1797
  } | {
1757
1798
  kind: "Trc20";
1758
1799
  contract: string;
1759
1800
  to: string;
1760
1801
  amount: string;
1761
1802
  externalId?: string | undefined;
1803
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1804
+ feeSponsorId?: string | undefined;
1762
1805
  } | {
1763
1806
  kind: "Trc721";
1764
1807
  contract: string;
1765
1808
  to: string;
1766
1809
  tokenId: string;
1767
1810
  externalId?: string | undefined;
1811
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
1812
+ feeSponsorId?: string | undefined;
1768
1813
  };
1769
1814
  metadata: {
1770
1815
  asset: {
@@ -1786,6 +1831,7 @@ export type GetApprovalResponse = {
1786
1831
  dateConfirmed?: string | undefined;
1787
1832
  approvalId?: string | undefined;
1788
1833
  externalId?: string | undefined;
1834
+ feeSponsorId?: string | undefined;
1789
1835
  } | undefined;
1790
1836
  transactionRequest?: {
1791
1837
  id: string;
@@ -3193,18 +3239,24 @@ export type ListApprovalsResponse = {
3193
3239
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
3194
3240
  createDestinationAccount?: boolean | undefined;
3195
3241
  externalId?: string | undefined;
3242
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3243
+ feeSponsorId?: string | undefined;
3196
3244
  } | {
3197
3245
  kind: "Asa";
3198
3246
  assetId: string;
3199
3247
  to: string;
3200
3248
  amount: string;
3201
3249
  externalId?: string | undefined;
3250
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3251
+ feeSponsorId?: string | undefined;
3202
3252
  } | {
3203
3253
  kind: "Aip21";
3204
3254
  metadata: string;
3205
3255
  to: string;
3206
3256
  amount: string;
3207
3257
  externalId?: string | undefined;
3258
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3259
+ feeSponsorId?: string | undefined;
3208
3260
  } | {
3209
3261
  kind: "Erc20";
3210
3262
  contract: string;
@@ -3212,6 +3264,8 @@ export type ListApprovalsResponse = {
3212
3264
  amount: string;
3213
3265
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
3214
3266
  externalId?: string | undefined;
3267
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3268
+ feeSponsorId?: string | undefined;
3215
3269
  } | {
3216
3270
  kind: "Erc721";
3217
3271
  contract: string;
@@ -3219,6 +3273,8 @@ export type ListApprovalsResponse = {
3219
3273
  tokenId: string;
3220
3274
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
3221
3275
  externalId?: string | undefined;
3276
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3277
+ feeSponsorId?: string | undefined;
3222
3278
  } | {
3223
3279
  kind: "Sep41";
3224
3280
  issuer: string;
@@ -3227,6 +3283,8 @@ export type ListApprovalsResponse = {
3227
3283
  amount: string;
3228
3284
  memo?: string | undefined;
3229
3285
  externalId?: string | undefined;
3286
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3287
+ feeSponsorId?: string | undefined;
3230
3288
  } | {
3231
3289
  kind: "Spl" | "Spl2022";
3232
3290
  to: string;
@@ -3234,6 +3292,8 @@ export type ListApprovalsResponse = {
3234
3292
  mint: string;
3235
3293
  createDestinationAccount?: boolean | undefined;
3236
3294
  externalId?: string | undefined;
3295
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3296
+ feeSponsorId?: string | undefined;
3237
3297
  } | {
3238
3298
  kind: "Tep74";
3239
3299
  to: string;
@@ -3241,24 +3301,32 @@ export type ListApprovalsResponse = {
3241
3301
  amount: string;
3242
3302
  memo?: string | undefined;
3243
3303
  externalId?: string | undefined;
3304
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3305
+ feeSponsorId?: string | undefined;
3244
3306
  } | {
3245
3307
  kind: "Trc10";
3246
3308
  tokenId: string;
3247
3309
  to: string;
3248
3310
  amount: string;
3249
3311
  externalId?: string | undefined;
3312
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3313
+ feeSponsorId?: string | undefined;
3250
3314
  } | {
3251
3315
  kind: "Trc20";
3252
3316
  contract: string;
3253
3317
  to: string;
3254
3318
  amount: string;
3255
3319
  externalId?: string | undefined;
3320
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3321
+ feeSponsorId?: string | undefined;
3256
3322
  } | {
3257
3323
  kind: "Trc721";
3258
3324
  contract: string;
3259
3325
  to: string;
3260
3326
  tokenId: string;
3261
3327
  externalId?: string | undefined;
3328
+ /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3329
+ feeSponsorId?: string | undefined;
3262
3330
  };
3263
3331
  metadata: {
3264
3332
  asset: {
@@ -3280,6 +3348,7 @@ export type ListApprovalsResponse = {
3280
3348
  dateConfirmed?: string | undefined;
3281
3349
  approvalId?: string | undefined;
3282
3350
  externalId?: string | undefined;
3351
+ feeSponsorId?: string | undefined;
3283
3352
  } | undefined;
3284
3353
  transactionRequest?: {
3285
3354
  id: string;