@portal-hq/web 3.7.0 → 3.8.0

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.
@@ -0,0 +1,778 @@
1
+ /**
2
+ * Tron resource types
3
+ */
4
+ export type YieldXyzTronResource = 'BANDWIDTH' | 'ENERGY'
5
+
6
+ /**
7
+ * Execution modes for yield actions
8
+ */
9
+ export type YieldXyzExecutionMode = 'individual' | 'batched'
10
+
11
+ /**
12
+ * Arguments for entering a yield opportunity
13
+ */
14
+ export interface YieldXyzEnterArguments {
15
+ amount?: string
16
+ validatorAddress?: string
17
+ validatorAddresses?: string[]
18
+ providerId?: string
19
+ duration?: number
20
+ inputToken?: string
21
+ subnetId?: number
22
+ tronResource?: YieldXyzTronResource
23
+ feeConfigurationId?: string
24
+ cosmosPubKey?: string
25
+ tezosPubKey?: string
26
+ cAddressBech?: string
27
+ pAddressBech?: string
28
+ executionMode?: YieldXyzExecutionMode
29
+ ledgerWalletApiCompatible?: boolean
30
+ }
31
+
32
+ /**
33
+ * Request to enter a yield opportunity
34
+ */
35
+ export interface YieldXyzEnterRequest {
36
+ yieldId: string
37
+ address: string
38
+ arguments?: YieldXyzEnterArguments
39
+ }
40
+
41
+ /**
42
+ * Request to exit a yield opportunity
43
+ */
44
+ export interface YieldXyzExitRequest {
45
+ yieldId: string
46
+ address: string
47
+ arguments?: YieldXyzEnterArguments
48
+ }
49
+
50
+ /**
51
+ * Yield action intent types
52
+ */
53
+ export type YieldXyzActionIntent = 'enter' | 'manage' | 'exit'
54
+
55
+ /**
56
+ * Yield action types
57
+ */
58
+ export type YieldXyzActionType =
59
+ | 'STAKE'
60
+ | 'UNSTAKE'
61
+ | 'CLAIM_REWARDS'
62
+ | 'RESTAKE_REWARDS'
63
+ | 'WITHDRAW'
64
+ | 'WITHDRAW_ALL'
65
+ | 'RESTAKE'
66
+ | 'CLAIM_UNSTAKED'
67
+ | 'UNLOCK_LOCKED'
68
+ | 'STAKE_LOCKED'
69
+ | 'VOTE'
70
+ | 'REVOKE'
71
+ | 'VOTE_LOCKED'
72
+ | 'REVOTE'
73
+ | 'REBOND'
74
+ | 'MIGRATE'
75
+ | 'VERIFY_WITHDRAW_CREDENTIALS'
76
+ | 'DELEGATE'
77
+
78
+ /**
79
+ * Yield action execution patterns
80
+ */
81
+ export type YieldXyzActionExecutionPattern =
82
+ | 'synchronous'
83
+ | 'asynchronous'
84
+ | 'batch'
85
+
86
+ /**
87
+ * Yield action status
88
+ */
89
+ export type YieldXyzActionStatus =
90
+ | 'CANCELED'
91
+ | 'CREATED'
92
+ | 'WAITING_FOR_NEXT'
93
+ | 'PROCESSING'
94
+ | 'FAILED'
95
+ | 'SUCCESS'
96
+ | 'STALE'
97
+
98
+ /**
99
+ * Yield action transaction status
100
+ */
101
+ export type YieldXyzActionTransactionStatus =
102
+ | 'BLOCKED'
103
+ | 'BROADCASTED'
104
+ | 'CONFIRMED'
105
+ | 'CREATED'
106
+ | 'FAILED'
107
+ | 'NOT_FOUND'
108
+ | 'PENDING'
109
+ | 'SIGNED'
110
+ | 'SKIPPED'
111
+ | 'WAITING_FOR_SIGNATURE'
112
+
113
+ /**
114
+ * Yield action transaction type
115
+ */
116
+ export type YieldXyzActionTransactionType =
117
+ | 'APPROVAL'
118
+ | 'BRIDGE'
119
+ | 'CLAIM_REWARDS'
120
+ | 'CLAIM_UNSTAKED'
121
+ | 'COMPLETE_QUEUED_WITHDRAWALS'
122
+ | 'CREATE_ACCOUNT'
123
+ | 'CREATE_EIGENPOD'
124
+ | 'DELEGATE'
125
+ | 'DEPOSIT'
126
+ | 'FREEZE_BANDWIDTH'
127
+ | 'FREEZE_ENERGY'
128
+ | 'INFSTONES_CLAIM_REQUEST'
129
+ | 'INFSTONES_EXIT_REQUEST'
130
+ | 'INFSTONES_PROVISION'
131
+ | 'LOCK'
132
+ | 'LUGANODES_EXIT_REQUEST'
133
+ | 'LUGANODES_PROVISION'
134
+ | 'MERGE'
135
+ | 'MIGRATE'
136
+ | 'P2P_NODE_REQUEST'
137
+ | 'QUEUE_WITHDRAWALS'
138
+ | 'REBOND'
139
+ | 'RESTAKE'
140
+ | 'RESTAKE_REWARDS'
141
+ | 'REVEAL'
142
+ | 'REVOKE'
143
+ | 'SPLIT'
144
+ | 'STAKE'
145
+ | 'START_CHECKPOINT'
146
+ | 'SUPPLY'
147
+ | 'SWAP'
148
+ | 'UNDELEGATE'
149
+ | 'UNDELEGATE_BANDWIDTH'
150
+ | 'UNDELEGATE_ENERGY'
151
+ | 'UNFREEZE_BANDWIDTH'
152
+ | 'UNFREEZE_ENERGY'
153
+ | 'UNFREEZE_LEGACY'
154
+ | 'UNFREEZE_LEGACY_BANDWIDTH'
155
+ | 'UNFREEZE_LEGACY_ENERGY'
156
+ | 'UNLOCK'
157
+ | 'UNSTAKE'
158
+ | 'UNWRAP'
159
+ | 'UTXO_C_TO_P_IMPORT'
160
+ | 'UTXO_P_TO_C_IMPORT'
161
+ | 'VERIFY_CHECKPOINT_PROOFS'
162
+ | 'VERIFY_WITHDRAW_CREDENTIALS'
163
+ | 'VOTE'
164
+ | 'WITHDRAW'
165
+ | 'WITHDRAW_ALL'
166
+ | 'WRAP'
167
+
168
+ /**
169
+ * Yield action transaction
170
+ */
171
+ export interface YieldXyzActionTransaction {
172
+ id: string
173
+ title: string
174
+ network: string
175
+ status: YieldXyzActionTransactionStatus
176
+ type: YieldXyzActionTransactionType
177
+ hash?: string
178
+ createdAt: string
179
+ broadcastedAt?: string
180
+ signedTransaction?: string
181
+ unsignedTransaction?: string
182
+ annotatedTransaction?: Record<string, any>
183
+ structuredTransaction?: Record<string, any>
184
+ stepIndex: number
185
+ description?: string
186
+ error?: string
187
+ gasEstimate?: string
188
+ explorerUrl?: string
189
+ isMessage?: boolean
190
+ }
191
+
192
+ export interface YieldXyzEnterRawResponse {
193
+ id: string
194
+ intent: YieldXyzActionIntent
195
+ type: YieldXyzActionType
196
+ yieldId: string
197
+ address: string
198
+ amount?: string
199
+ amountRaw?: string
200
+ amountUsd?: string
201
+ transactions: YieldXyzActionTransaction[]
202
+ executionPattern: YieldXyzActionExecutionPattern
203
+ rawArguments?: YieldXyzEnterArguments
204
+ createdAt: string
205
+ completedAt?: string
206
+ status: YieldXyzActionStatus
207
+ }
208
+
209
+ export interface YieldXyzEnterYieldData {
210
+ rawResponse: YieldXyzEnterRawResponse
211
+ }
212
+
213
+ /**
214
+ * Response from entering a yield opportunity
215
+ */
216
+ export interface YieldXyzEnterYieldResponse {
217
+ data?: YieldXyzEnterYieldData
218
+ error?: string
219
+ }
220
+
221
+ export interface YieldXyzExitRawResponse {
222
+ id: string
223
+ intent: YieldXyzActionIntent
224
+ type: YieldXyzActionType
225
+ yieldId: string
226
+ address: string
227
+ amount?: string
228
+ amountRaw?: string
229
+ amountUsd?: string
230
+ transactions: YieldXyzActionTransaction[]
231
+ executionPattern: YieldXyzActionExecutionPattern
232
+ rawArguments?: YieldXyzEnterArguments
233
+ createdAt: string
234
+ completedAt?: string
235
+ status: YieldXyzActionStatus
236
+ }
237
+
238
+ export interface YieldXyzExitData {
239
+ rawResponse: YieldXyzExitRawResponse
240
+ }
241
+
242
+ /**
243
+ * Response from exiting a yield opportunity
244
+ */
245
+ export interface YieldXyzExitResponse {
246
+ data?: YieldXyzExitData
247
+ error?: string
248
+ }
249
+
250
+ export interface YieldXyzBalanceQuery {
251
+ address: string
252
+ network: string
253
+ yieldId?: string
254
+ }
255
+
256
+ /**
257
+ * Request to get yield balances for specific addresses and networks
258
+ */
259
+ export interface YieldXyzGetBalancesRequest {
260
+ queries: YieldXyzBalanceQuery[]
261
+ }
262
+
263
+ export interface YieldXyzBalanceToken {
264
+ address: string
265
+ symbol: string
266
+ name: string
267
+ decimals: number
268
+ logoURI?: string
269
+ network: string
270
+ isPoints?: boolean
271
+ }
272
+
273
+ export interface YieldXyzBalancePendingAction {
274
+ intent: YieldXyzActionIntent
275
+ type: YieldXyzActionType
276
+ passthrough: string
277
+ arguments?: YieldXyzArgument
278
+ }
279
+
280
+ export interface YieldXyzBalance {
281
+ address: string
282
+ amount: string
283
+ amountRaw: string
284
+ type: string
285
+ token: YieldXyzBalanceToken
286
+ pendingActions?: YieldXyzBalancePendingAction[]
287
+ amountUsd?: string
288
+ isEarning?: boolean
289
+ }
290
+
291
+ export interface YieldXyzGetBalancesItem {
292
+ yieldId: string
293
+ balances: YieldXyzBalance[]
294
+ }
295
+
296
+ export interface YieldXyzGetBalancesRawResponse {
297
+ items: YieldXyzGetBalancesItem[]
298
+ errors?: string[]
299
+ }
300
+
301
+ export interface YieldXyzGetBalancesData {
302
+ rawResponse: YieldXyzGetBalancesRawResponse
303
+ }
304
+
305
+ export interface YieldXyzGetBalancesMetadata {
306
+ clientId?: string
307
+ }
308
+
309
+ /**
310
+ * Response from getting yield balances
311
+ */
312
+ export interface YieldXyzGetBalancesResponse {
313
+ data?: YieldXyzGetBalancesData
314
+ error?: string
315
+ metadata?: YieldXyzGetBalancesMetadata
316
+ }
317
+
318
+ /**
319
+ * Request to get historical yield actions with optional filtering
320
+ */
321
+ export interface YieldXyzGetHistoricalActionsRequest {
322
+ offset?: number
323
+ limit?: number
324
+ address?: string
325
+ status?: YieldXyzActionStatus
326
+ intent?: YieldXyzActionIntent
327
+ type?: YieldXyzActionType
328
+ yieldId?: string
329
+ }
330
+
331
+ export interface YieldXyzGetHistoricalActionsRawResponse {
332
+ items: YieldXyzEnterRawResponse[]
333
+ total?: number
334
+ offset?: number
335
+ limit?: number
336
+ }
337
+
338
+ export interface YieldXyzGetHistoricalActionsData {
339
+ rawResponse: YieldXyzGetHistoricalActionsRawResponse
340
+ }
341
+
342
+ /**
343
+ * Response for fetching yield actions list for an address
344
+ */
345
+ export interface YieldXyzGetHistoricalActionsResponse {
346
+ data?: YieldXyzGetHistoricalActionsData
347
+ error?: string
348
+ metadata?: YieldXyzGetBalancesMetadata
349
+ }
350
+
351
+ /**
352
+ * Sort options for yield opportunities
353
+ */
354
+ export type YieldXyzGetYieldsSort =
355
+ | 'statusEnterAsc'
356
+ | 'statusEnterDesc'
357
+ | 'statusExitAsc'
358
+ | 'statusExitDesc'
359
+
360
+ /**
361
+ * Yield mechanics types
362
+ */
363
+ export type YieldXyzMechanicsType =
364
+ | 'staking'
365
+ | 'restaking'
366
+ | 'lending'
367
+ | 'vault'
368
+ | 'fixed_yield'
369
+ | 'real_world_asset'
370
+
371
+ /**
372
+ * Request parameters for getting yield opportunities from Yield.xyz
373
+ */
374
+ export interface YieldXyzGetYieldsRequest {
375
+ offset?: number
376
+ limit?: number
377
+ network?: string
378
+ yieldId?: string
379
+ type?: YieldXyzMechanicsType
380
+ hasCooldownPeriod?: boolean
381
+ hasWarmupPeriod?: boolean
382
+ token?: string
383
+ inputToken?: string
384
+ provider?: string
385
+ search?: string
386
+ sort?: YieldXyzGetYieldsSort
387
+ }
388
+
389
+ /**
390
+ * Token information
391
+ */
392
+ export interface YieldXyzToken {
393
+ symbol: string
394
+ name: string
395
+ decimals?: number
396
+ network?: string
397
+ address?: string
398
+ logoURI?: string
399
+ isPoints?: boolean
400
+ coinGeckoId?: string
401
+ }
402
+
403
+ /**
404
+ * Rate type
405
+ */
406
+ export type YieldXyzRateType = 'APR' | 'APY'
407
+
408
+ /**
409
+ * Yield source
410
+ */
411
+ export type YieldXyzSource =
412
+ | 'staking'
413
+ | 'restaking'
414
+ | 'protocol_incentive'
415
+ | 'points'
416
+ | 'lending_interest'
417
+ | 'mev'
418
+ | 'real_world_asset_yield'
419
+ | 'validator_commission'
420
+
421
+ /**
422
+ * Reward rate component
423
+ */
424
+ export interface YieldXyzRewardRateComponent {
425
+ rate: number
426
+ rateType: YieldXyzRateType
427
+ token: YieldXyzToken
428
+ yieldSource: YieldXyzSource
429
+ description: string
430
+ }
431
+
432
+ /**
433
+ * Reward rate information
434
+ */
435
+ export interface YieldXyzRewardRate {
436
+ total: number
437
+ rateType: YieldXyzRateType
438
+ components: YieldXyzRewardRateComponent[]
439
+ }
440
+
441
+ /**
442
+ * Statistics for a yield opportunity
443
+ */
444
+ export interface YieldXyzStatistics {
445
+ tvlUsd?: string
446
+ tvl?: number
447
+ uniqueUsers?: number
448
+ averagePositionSizeUsd?: number
449
+ averagePositionSize?: number
450
+ }
451
+
452
+ /**
453
+ * Status of a yield opportunity
454
+ */
455
+ export interface YieldXyzStatus {
456
+ enter: boolean
457
+ exit: boolean
458
+ }
459
+
460
+ /**
461
+ * Metadata for a yield opportunity
462
+ */
463
+ export interface YieldXyzOpportunityMetadata {
464
+ name: string
465
+ logoURI: string
466
+ description: string
467
+ documentation: string
468
+ underMaintenance: boolean
469
+ deprecated: boolean
470
+ supportedStandards: string[]
471
+ }
472
+
473
+ /**
474
+ * Reward schedule
475
+ */
476
+ export type YieldXyzRewardSchedule =
477
+ | 'block'
478
+ | 'hour'
479
+ | 'day'
480
+ | 'week'
481
+ | 'month'
482
+ | 'era'
483
+ | 'epoch'
484
+ | 'campaign'
485
+
486
+ /**
487
+ * Reward claiming
488
+ */
489
+ export type YieldXyzRewardClaiming = 'auto' | 'manual'
490
+
491
+ /**
492
+ * Lockup period information
493
+ */
494
+ export interface YieldXyzLockupPeriod {
495
+ seconds: number
496
+ }
497
+
498
+ /**
499
+ * Cooldown period information
500
+ */
501
+ export interface YieldXyzCooldownPeriod {
502
+ seconds: number
503
+ }
504
+
505
+ /**
506
+ * Warmup period information
507
+ */
508
+ export interface YieldXyzWarmupPeriod {
509
+ seconds: number
510
+ }
511
+
512
+ /**
513
+ * Fee information
514
+ */
515
+ export interface YieldXyzFee {
516
+ deposit: number
517
+ withdrawal: number
518
+ performance: number
519
+ management: number
520
+ }
521
+
522
+ /**
523
+ * Entry limits information
524
+ */
525
+ export interface YieldXyzEntryLimits {
526
+ minimum?: string
527
+ maximum?: string
528
+ }
529
+
530
+ /**
531
+ * Argument field name
532
+ */
533
+ export type YieldXyzArgumentFieldName =
534
+ | 'amount'
535
+ | 'validatorAddress'
536
+ | 'validatorAddresses'
537
+ | 'receiverAddress'
538
+ | 'providerId'
539
+ | 'duration'
540
+ | 'inputToken'
541
+ | 'subnetId'
542
+ | 'tronResource'
543
+ | 'feeConfigurationId'
544
+ | 'cosmosPubKey'
545
+ | 'tezosPubKey'
546
+ | 'cAddressBech'
547
+ | 'pAddressBech'
548
+ | 'executionMode'
549
+ | 'ledgerWalletApiCompatible'
550
+
551
+ /**
552
+ * Argument field type
553
+ */
554
+ export type YieldXyzArgumentFieldType =
555
+ | 'string'
556
+ | 'number'
557
+ | 'address'
558
+ | 'enum'
559
+ | 'boolean'
560
+
561
+ /**
562
+ * Argument field definition
563
+ */
564
+ export interface YieldXyzArgumentField {
565
+ name: YieldXyzArgumentFieldName
566
+ type: YieldXyzArgumentFieldType
567
+ label: string
568
+ description?: string
569
+ required?: boolean
570
+ options?: string[]
571
+ optionsRef?: string
572
+ default?: Record<string, any>
573
+ placeholder?: string
574
+ minimum?: string
575
+ maximum?: string
576
+ isArray?: boolean
577
+ }
578
+
579
+ /**
580
+ * Argument definition
581
+ */
582
+ export interface YieldXyzArgument {
583
+ fields: YieldXyzArgumentField[]
584
+ notes?: string
585
+ }
586
+
587
+ /**
588
+ * Arguments for yield operations
589
+ */
590
+ export interface YieldXyzArguments {
591
+ enter: YieldXyzArgument
592
+ exit: YieldXyzArgument
593
+ manage?: Record<string, any>
594
+ balance?: YieldXyzArgument
595
+ }
596
+
597
+ /**
598
+ * Possible fee taking mechanisms
599
+ */
600
+ export interface YieldXyzPossibleFeeTakingMechanisms {
601
+ depositFee: boolean
602
+ managementFee: boolean
603
+ performanceFee: boolean
604
+ validatorRebates: boolean
605
+ }
606
+
607
+ /**
608
+ * Mechanics information for a yield opportunity
609
+ */
610
+ export interface YieldXyzMechanics {
611
+ type: YieldXyzMechanicsType
612
+ requiresValidatorSelection: boolean
613
+ rewardSchedule: YieldXyzRewardSchedule
614
+ rewardClaiming: YieldXyzRewardClaiming
615
+ gasFeeToken: YieldXyzToken
616
+ lockupPeriod?: YieldXyzLockupPeriod
617
+ cooldownPeriod?: YieldXyzCooldownPeriod
618
+ warmupPeriod?: YieldXyzWarmupPeriod
619
+ fee?: YieldXyzFee
620
+ entryLimits: YieldXyzEntryLimits
621
+ supportsLedgerWalletApi: boolean
622
+ extraTransactionFormatsSupported?: string[]
623
+ arguments: YieldXyzArguments
624
+ possibleFeeTakingMechanisms: YieldXyzPossibleFeeTakingMechanisms
625
+ }
626
+
627
+ /**
628
+ * A yield opportunity
629
+ */
630
+ export interface YieldXyzOpportunity {
631
+ id: string
632
+ network: string
633
+ inputTokens: YieldXyzToken[]
634
+ outputToken: YieldXyzToken
635
+ token: YieldXyzToken
636
+ rewardRate: YieldXyzRewardRate
637
+ statistics?: YieldXyzStatistics
638
+ status: YieldXyzStatus
639
+ metadata: YieldXyzOpportunityMetadata
640
+ mechanics: YieldXyzMechanics
641
+ providerId: string
642
+ tags: string[]
643
+ }
644
+
645
+ export interface YieldXyzGetYieldsRawResponse {
646
+ items: YieldXyzOpportunity[]
647
+ limit: number
648
+ offset: number
649
+ total: number
650
+ }
651
+
652
+ export interface YieldXyzGetYieldsData {
653
+ rawResponse: YieldXyzGetYieldsRawResponse
654
+ }
655
+
656
+ /**
657
+ * Response containing yield opportunities from Yield.xyz
658
+ */
659
+ export interface YieldXyzGetYieldsResponse {
660
+ data?: YieldXyzGetYieldsData
661
+ error?: string
662
+ }
663
+
664
+ /**
665
+ * Request to manage a yield opportunity
666
+ */
667
+ export interface YieldXyzManageYieldRequest {
668
+ yieldId: string
669
+ address: string
670
+ arguments?: YieldXyzEnterArguments
671
+ action: YieldXyzActionType
672
+ passthrough: string
673
+ }
674
+
675
+ export interface YieldXyzManageYieldRawResponse {
676
+ id: string
677
+ intent: YieldXyzActionIntent
678
+ type: YieldXyzActionType
679
+ yieldId: string
680
+ address: string
681
+ amount?: string
682
+ amountRaw?: string
683
+ amountUsd?: string
684
+ transactions: YieldXyzActionTransaction[]
685
+ executionPattern: YieldXyzActionExecutionPattern
686
+ rawArguments?: YieldXyzEnterArguments
687
+ createdAt: string
688
+ completedAt?: string
689
+ status: YieldXyzActionStatus
690
+ }
691
+
692
+ export interface YieldXyzManageYieldData {
693
+ rawResponse: YieldXyzManageYieldRawResponse
694
+ }
695
+
696
+ /**
697
+ * Response from managing a yield opportunity
698
+ */
699
+ export interface YieldXyzManageYieldResponse {
700
+ data?: YieldXyzManageYieldData
701
+ error?: string
702
+ }
703
+
704
+ // ============================================================================
705
+ // Track Transaction Types
706
+ // ============================================================================
707
+
708
+ /**
709
+ * Request to submit a transaction hash for tracking
710
+ */
711
+ export interface YieldXyzTrackTransactionRequest {
712
+ transactionId: string
713
+ hash: string
714
+ }
715
+
716
+ export interface YieldXyzTrackTransactionRawResponse {
717
+ id: string
718
+ title: string
719
+ network: string
720
+ status: YieldXyzActionTransactionStatus
721
+ type: YieldXyzActionTransactionType
722
+ hash?: string
723
+ createdAt: string
724
+ broadcastedAt?: string
725
+ signedTransaction?: string
726
+ unsignedTransaction?: string
727
+ stepIndex: number
728
+ gasEstimate?: string
729
+ }
730
+
731
+ export interface YieldXyzTrackTransactionData {
732
+ rawResponse: YieldXyzTrackTransactionRawResponse
733
+ }
734
+
735
+ /**
736
+ * Response from submitting a transaction hash
737
+ */
738
+ export interface YieldXyzTrackTransactionResponse {
739
+ data?: YieldXyzTrackTransactionData
740
+ error?: string
741
+ }
742
+
743
+ // ============================================================================
744
+ // Get Transaction Types
745
+ // ============================================================================
746
+
747
+ export interface YieldXyzGetTransactionRawResponse {
748
+ id: string
749
+ title: string
750
+ network: string
751
+ status: YieldXyzActionTransactionStatus
752
+ type: YieldXyzActionTransactionType
753
+ hash?: string
754
+ createdAt: string
755
+ broadcastedAt?: string
756
+ signedTransaction?: string
757
+ unsignedTransaction?: string
758
+ stepIndex: number
759
+ gasEstimate?: string
760
+ }
761
+
762
+ export interface YieldXyzGetTransactionRequest {
763
+ rawResponse: YieldXyzGetTransactionRawResponse
764
+ }
765
+
766
+ export interface YieldXyzGetTransactionMetadata {
767
+ clientId?: string
768
+ transactionId?: string
769
+ }
770
+
771
+ /**
772
+ * Response for fetching a single yield action transaction by ID
773
+ */
774
+ export interface YieldXyzGetTransactionResponse {
775
+ data?: YieldXyzGetTransactionRequest
776
+ error?: string
777
+ metadata?: YieldXyzGetTransactionMetadata
778
+ }