@privy-io/api-types 0.1.1 → 0.3.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.
Files changed (71) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/client-auth.d.mts +1 -1
  10. package/resources/client-auth.d.mts.map +1 -1
  11. package/resources/client-auth.d.ts +1 -1
  12. package/resources/client-auth.d.ts.map +1 -1
  13. package/resources/embedded-wallets.d.mts +2 -2
  14. package/resources/embedded-wallets.d.mts.map +1 -1
  15. package/resources/embedded-wallets.d.ts +2 -2
  16. package/resources/embedded-wallets.d.ts.map +1 -1
  17. package/resources/index.d.mts +1 -1
  18. package/resources/index.d.mts.map +1 -1
  19. package/resources/index.d.ts +1 -1
  20. package/resources/index.d.ts.map +1 -1
  21. package/resources/index.js.map +1 -1
  22. package/resources/index.mjs.map +1 -1
  23. package/resources/key-quorums.d.mts +18 -3
  24. package/resources/key-quorums.d.mts.map +1 -1
  25. package/resources/key-quorums.d.ts +18 -3
  26. package/resources/key-quorums.d.ts.map +1 -1
  27. package/resources/policies.d.mts +128 -22
  28. package/resources/policies.d.mts.map +1 -1
  29. package/resources/policies.d.ts +128 -22
  30. package/resources/policies.d.ts.map +1 -1
  31. package/resources/users.d.mts +7 -4
  32. package/resources/users.d.mts.map +1 -1
  33. package/resources/users.d.ts +7 -4
  34. package/resources/users.d.ts.map +1 -1
  35. package/resources/users.js +1 -1
  36. package/resources/users.mjs +1 -1
  37. package/resources/wallets/index.d.mts +1 -1
  38. package/resources/wallets/index.d.mts.map +1 -1
  39. package/resources/wallets/index.d.ts +1 -1
  40. package/resources/wallets/index.d.ts.map +1 -1
  41. package/resources/wallets/index.js.map +1 -1
  42. package/resources/wallets/index.mjs.map +1 -1
  43. package/resources/wallets/transactions.d.mts +3 -2
  44. package/resources/wallets/transactions.d.mts.map +1 -1
  45. package/resources/wallets/transactions.d.ts +3 -2
  46. package/resources/wallets/transactions.d.ts.map +1 -1
  47. package/resources/wallets/transactions.js +1 -1
  48. package/resources/wallets/transactions.mjs +1 -1
  49. package/resources/wallets/wallets.d.mts +559 -214
  50. package/resources/wallets/wallets.d.mts.map +1 -1
  51. package/resources/wallets/wallets.d.ts +559 -214
  52. package/resources/wallets/wallets.d.ts.map +1 -1
  53. package/resources/wallets/wallets.js +7 -3
  54. package/resources/wallets/wallets.js.map +1 -1
  55. package/resources/wallets/wallets.mjs +7 -3
  56. package/resources/wallets/wallets.mjs.map +1 -1
  57. package/src/client.ts +42 -0
  58. package/src/resources/client-auth.ts +1 -1
  59. package/src/resources/embedded-wallets.ts +2 -2
  60. package/src/resources/index.ts +21 -0
  61. package/src/resources/key-quorums.ts +18 -3
  62. package/src/resources/policies.ts +216 -6
  63. package/src/resources/users.ts +7 -17
  64. package/src/resources/wallets/index.ts +21 -0
  65. package/src/resources/wallets/transactions.ts +4 -2
  66. package/src/resources/wallets/wallets.ts +736 -245
  67. package/src/version.ts +1 -1
  68. package/version.d.mts +1 -1
  69. package/version.d.ts +1 -1
  70. package/version.js +1 -1
  71. package/version.mjs +1 -1
@@ -263,7 +263,7 @@ export interface Policy {
263
263
  /**
264
264
  * The chain type the policy applies to.
265
265
  */
266
- chain_type: 'ethereum' | 'solana';
266
+ chain_type: 'ethereum' | 'solana' | 'tron';
267
267
 
268
268
  /**
269
269
  * Unix timestamp of when the policy was created in milliseconds.
@@ -311,6 +311,7 @@ export namespace Policy {
311
311
  | Rule.SolanaSystemProgramInstructionCondition
312
312
  | Rule.SolanaTokenProgramInstructionCondition
313
313
  | Rule.SystemCondition
314
+ | Rule.TronTransactionCondition
314
315
  >;
315
316
 
316
317
  /**
@@ -319,11 +320,13 @@ export namespace Policy {
319
320
  method:
320
321
  | 'eth_sendTransaction'
321
322
  | 'eth_signTransaction'
323
+ | 'eth_signUserOperation'
322
324
  | 'eth_signTypedData_v4'
323
325
  | 'eth_sign7702Authorization'
324
326
  | 'signTransaction'
325
327
  | 'signAndSendTransaction'
326
328
  | 'exportPrivateKey'
329
+ | 'signTransactionBytes'
327
330
  | '*';
328
331
 
329
332
  name: string;
@@ -478,6 +481,29 @@ export namespace Policy {
478
481
 
479
482
  value: string | Array<string>;
480
483
  }
484
+
485
+ /**
486
+ * TRON transaction fields for TransferContract and TriggerSmartContract
487
+ * transaction types.
488
+ */
489
+ export interface TronTransactionCondition {
490
+ /**
491
+ * Supported TRON transaction fields in format "TransactionType.field_name"
492
+ */
493
+ field:
494
+ | 'TransferContract.to_address'
495
+ | 'TransferContract.amount'
496
+ | 'TriggerSmartContract.contract_address'
497
+ | 'TriggerSmartContract.call_value'
498
+ | 'TriggerSmartContract.token_id'
499
+ | 'TriggerSmartContract.call_token_value';
500
+
501
+ field_source: 'tron_transaction';
502
+
503
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
504
+
505
+ value: string | Array<string>;
506
+ }
481
507
  }
482
508
  }
483
509
 
@@ -503,6 +529,7 @@ export interface PolicyCreateRuleResponse {
503
529
  | PolicyCreateRuleResponse.SolanaSystemProgramInstructionCondition
504
530
  | PolicyCreateRuleResponse.SolanaTokenProgramInstructionCondition
505
531
  | PolicyCreateRuleResponse.SystemCondition
532
+ | PolicyCreateRuleResponse.TronTransactionCondition
506
533
  >;
507
534
 
508
535
  /**
@@ -511,11 +538,13 @@ export interface PolicyCreateRuleResponse {
511
538
  method:
512
539
  | 'eth_sendTransaction'
513
540
  | 'eth_signTransaction'
541
+ | 'eth_signUserOperation'
514
542
  | 'eth_signTypedData_v4'
515
543
  | 'eth_sign7702Authorization'
516
544
  | 'signTransaction'
517
545
  | 'signAndSendTransaction'
518
546
  | 'exportPrivateKey'
547
+ | 'signTransactionBytes'
519
548
  | '*';
520
549
 
521
550
  name: string;
@@ -670,6 +699,29 @@ export namespace PolicyCreateRuleResponse {
670
699
 
671
700
  value: string | Array<string>;
672
701
  }
702
+
703
+ /**
704
+ * TRON transaction fields for TransferContract and TriggerSmartContract
705
+ * transaction types.
706
+ */
707
+ export interface TronTransactionCondition {
708
+ /**
709
+ * Supported TRON transaction fields in format "TransactionType.field_name"
710
+ */
711
+ field:
712
+ | 'TransferContract.to_address'
713
+ | 'TransferContract.amount'
714
+ | 'TriggerSmartContract.contract_address'
715
+ | 'TriggerSmartContract.call_value'
716
+ | 'TriggerSmartContract.token_id'
717
+ | 'TriggerSmartContract.call_token_value';
718
+
719
+ field_source: 'tron_transaction';
720
+
721
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
722
+
723
+ value: string | Array<string>;
724
+ }
673
725
  }
674
726
 
675
727
  export interface PolicyDeleteResponse {
@@ -704,6 +756,7 @@ export interface PolicyUpdateRuleResponse {
704
756
  | PolicyUpdateRuleResponse.SolanaSystemProgramInstructionCondition
705
757
  | PolicyUpdateRuleResponse.SolanaTokenProgramInstructionCondition
706
758
  | PolicyUpdateRuleResponse.SystemCondition
759
+ | PolicyUpdateRuleResponse.TronTransactionCondition
707
760
  >;
708
761
 
709
762
  /**
@@ -712,11 +765,13 @@ export interface PolicyUpdateRuleResponse {
712
765
  method:
713
766
  | 'eth_sendTransaction'
714
767
  | 'eth_signTransaction'
768
+ | 'eth_signUserOperation'
715
769
  | 'eth_signTypedData_v4'
716
770
  | 'eth_sign7702Authorization'
717
771
  | 'signTransaction'
718
772
  | 'signAndSendTransaction'
719
773
  | 'exportPrivateKey'
774
+ | 'signTransactionBytes'
720
775
  | '*';
721
776
 
722
777
  name: string;
@@ -871,6 +926,29 @@ export namespace PolicyUpdateRuleResponse {
871
926
 
872
927
  value: string | Array<string>;
873
928
  }
929
+
930
+ /**
931
+ * TRON transaction fields for TransferContract and TriggerSmartContract
932
+ * transaction types.
933
+ */
934
+ export interface TronTransactionCondition {
935
+ /**
936
+ * Supported TRON transaction fields in format "TransactionType.field_name"
937
+ */
938
+ field:
939
+ | 'TransferContract.to_address'
940
+ | 'TransferContract.amount'
941
+ | 'TriggerSmartContract.contract_address'
942
+ | 'TriggerSmartContract.call_value'
943
+ | 'TriggerSmartContract.token_id'
944
+ | 'TriggerSmartContract.call_token_value';
945
+
946
+ field_source: 'tron_transaction';
947
+
948
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
949
+
950
+ value: string | Array<string>;
951
+ }
874
952
  }
875
953
 
876
954
  /**
@@ -895,6 +973,7 @@ export interface PolicyGetRuleResponse {
895
973
  | PolicyGetRuleResponse.SolanaSystemProgramInstructionCondition
896
974
  | PolicyGetRuleResponse.SolanaTokenProgramInstructionCondition
897
975
  | PolicyGetRuleResponse.SystemCondition
976
+ | PolicyGetRuleResponse.TronTransactionCondition
898
977
  >;
899
978
 
900
979
  /**
@@ -903,11 +982,13 @@ export interface PolicyGetRuleResponse {
903
982
  method:
904
983
  | 'eth_sendTransaction'
905
984
  | 'eth_signTransaction'
985
+ | 'eth_signUserOperation'
906
986
  | 'eth_signTypedData_v4'
907
987
  | 'eth_sign7702Authorization'
908
988
  | 'signTransaction'
909
989
  | 'signAndSendTransaction'
910
990
  | 'exportPrivateKey'
991
+ | 'signTransactionBytes'
911
992
  | '*';
912
993
 
913
994
  name: string;
@@ -1062,13 +1143,36 @@ export namespace PolicyGetRuleResponse {
1062
1143
 
1063
1144
  value: string | Array<string>;
1064
1145
  }
1146
+
1147
+ /**
1148
+ * TRON transaction fields for TransferContract and TriggerSmartContract
1149
+ * transaction types.
1150
+ */
1151
+ export interface TronTransactionCondition {
1152
+ /**
1153
+ * Supported TRON transaction fields in format "TransactionType.field_name"
1154
+ */
1155
+ field:
1156
+ | 'TransferContract.to_address'
1157
+ | 'TransferContract.amount'
1158
+ | 'TriggerSmartContract.contract_address'
1159
+ | 'TriggerSmartContract.call_value'
1160
+ | 'TriggerSmartContract.token_id'
1161
+ | 'TriggerSmartContract.call_token_value';
1162
+
1163
+ field_source: 'tron_transaction';
1164
+
1165
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1166
+
1167
+ value: string | Array<string>;
1168
+ }
1065
1169
  }
1066
1170
 
1067
1171
  export interface PolicyCreateParams {
1068
1172
  /**
1069
1173
  * Body param: The chain type the policy applies to.
1070
1174
  */
1071
- chain_type: 'ethereum' | 'solana';
1175
+ chain_type: 'ethereum' | 'solana' | 'tron';
1072
1176
 
1073
1177
  /**
1074
1178
  * Body param: Name to assign to policy.
@@ -1125,6 +1229,7 @@ export namespace PolicyCreateParams {
1125
1229
  | Rule.SolanaSystemProgramInstructionCondition
1126
1230
  | Rule.SolanaTokenProgramInstructionCondition
1127
1231
  | Rule.SystemCondition
1232
+ | Rule.TronTransactionCondition
1128
1233
  >;
1129
1234
 
1130
1235
  /**
@@ -1133,11 +1238,13 @@ export namespace PolicyCreateParams {
1133
1238
  method:
1134
1239
  | 'eth_sendTransaction'
1135
1240
  | 'eth_signTransaction'
1241
+ | 'eth_signUserOperation'
1136
1242
  | 'eth_signTypedData_v4'
1137
1243
  | 'eth_sign7702Authorization'
1138
1244
  | 'signTransaction'
1139
1245
  | 'signAndSendTransaction'
1140
1246
  | 'exportPrivateKey'
1247
+ | 'signTransactionBytes'
1141
1248
  | '*';
1142
1249
 
1143
1250
  name: string;
@@ -1292,11 +1399,35 @@ export namespace PolicyCreateParams {
1292
1399
 
1293
1400
  value: string | Array<string>;
1294
1401
  }
1402
+
1403
+ /**
1404
+ * TRON transaction fields for TransferContract and TriggerSmartContract
1405
+ * transaction types.
1406
+ */
1407
+ export interface TronTransactionCondition {
1408
+ /**
1409
+ * Supported TRON transaction fields in format "TransactionType.field_name"
1410
+ */
1411
+ field:
1412
+ | 'TransferContract.to_address'
1413
+ | 'TransferContract.amount'
1414
+ | 'TriggerSmartContract.contract_address'
1415
+ | 'TriggerSmartContract.call_value'
1416
+ | 'TriggerSmartContract.token_id'
1417
+ | 'TriggerSmartContract.call_token_value';
1418
+
1419
+ field_source: 'tron_transaction';
1420
+
1421
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1422
+
1423
+ value: string | Array<string>;
1424
+ }
1295
1425
  }
1296
1426
 
1297
1427
  /**
1298
- * The P-256 public key of the owner of the resource. If you provide this, do not
1299
- * specify an owner_id as it will be generated automatically.
1428
+ * The P-256 public key of the owner of the resource, in base64-encoded DER format.
1429
+ * If you provide this, do not specify an owner_id as it will be generated
1430
+ * automatically.
1300
1431
  */
1301
1432
  export interface PublicKeyOwner {
1302
1433
  public_key: string;
@@ -1331,6 +1462,7 @@ export interface PolicyCreateRuleParams {
1331
1462
  | PolicyCreateRuleParams.SolanaSystemProgramInstructionCondition
1332
1463
  | PolicyCreateRuleParams.SolanaTokenProgramInstructionCondition
1333
1464
  | PolicyCreateRuleParams.SystemCondition
1465
+ | PolicyCreateRuleParams.TronTransactionCondition
1334
1466
  >;
1335
1467
 
1336
1468
  /**
@@ -1339,11 +1471,13 @@ export interface PolicyCreateRuleParams {
1339
1471
  method:
1340
1472
  | 'eth_sendTransaction'
1341
1473
  | 'eth_signTransaction'
1474
+ | 'eth_signUserOperation'
1342
1475
  | 'eth_signTypedData_v4'
1343
1476
  | 'eth_sign7702Authorization'
1344
1477
  | 'signTransaction'
1345
1478
  | 'signAndSendTransaction'
1346
1479
  | 'exportPrivateKey'
1480
+ | 'signTransactionBytes'
1347
1481
  | '*';
1348
1482
 
1349
1483
  /**
@@ -1507,6 +1641,29 @@ export namespace PolicyCreateRuleParams {
1507
1641
 
1508
1642
  value: string | Array<string>;
1509
1643
  }
1644
+
1645
+ /**
1646
+ * TRON transaction fields for TransferContract and TriggerSmartContract
1647
+ * transaction types.
1648
+ */
1649
+ export interface TronTransactionCondition {
1650
+ /**
1651
+ * Supported TRON transaction fields in format "TransactionType.field_name"
1652
+ */
1653
+ field:
1654
+ | 'TransferContract.to_address'
1655
+ | 'TransferContract.amount'
1656
+ | 'TriggerSmartContract.contract_address'
1657
+ | 'TriggerSmartContract.call_value'
1658
+ | 'TriggerSmartContract.token_id'
1659
+ | 'TriggerSmartContract.call_token_value';
1660
+
1661
+ field_source: 'tron_transaction';
1662
+
1663
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1664
+
1665
+ value: string | Array<string>;
1666
+ }
1510
1667
  }
1511
1668
 
1512
1669
  export interface PolicyDeleteParams {
@@ -1563,8 +1720,9 @@ export interface PolicyUpdateParams {
1563
1720
 
1564
1721
  export namespace PolicyUpdateParams {
1565
1722
  /**
1566
- * The P-256 public key of the owner of the resource. If you provide this, do not
1567
- * specify an owner_id as it will be generated automatically.
1723
+ * The P-256 public key of the owner of the resource, in base64-encoded DER format.
1724
+ * If you provide this, do not specify an owner_id as it will be generated
1725
+ * automatically.
1568
1726
  */
1569
1727
  export interface PublicKeyOwner {
1570
1728
  public_key: string;
@@ -1598,6 +1756,7 @@ export namespace PolicyUpdateParams {
1598
1756
  | Rule.SolanaSystemProgramInstructionCondition
1599
1757
  | Rule.SolanaTokenProgramInstructionCondition
1600
1758
  | Rule.SystemCondition
1759
+ | Rule.TronTransactionCondition
1601
1760
  >;
1602
1761
 
1603
1762
  /**
@@ -1606,11 +1765,13 @@ export namespace PolicyUpdateParams {
1606
1765
  method:
1607
1766
  | 'eth_sendTransaction'
1608
1767
  | 'eth_signTransaction'
1768
+ | 'eth_signUserOperation'
1609
1769
  | 'eth_signTypedData_v4'
1610
1770
  | 'eth_sign7702Authorization'
1611
1771
  | 'signTransaction'
1612
1772
  | 'signAndSendTransaction'
1613
1773
  | 'exportPrivateKey'
1774
+ | 'signTransactionBytes'
1614
1775
  | '*';
1615
1776
 
1616
1777
  name: string;
@@ -1765,6 +1926,29 @@ export namespace PolicyUpdateParams {
1765
1926
 
1766
1927
  value: string | Array<string>;
1767
1928
  }
1929
+
1930
+ /**
1931
+ * TRON transaction fields for TransferContract and TriggerSmartContract
1932
+ * transaction types.
1933
+ */
1934
+ export interface TronTransactionCondition {
1935
+ /**
1936
+ * Supported TRON transaction fields in format "TransactionType.field_name"
1937
+ */
1938
+ field:
1939
+ | 'TransferContract.to_address'
1940
+ | 'TransferContract.amount'
1941
+ | 'TriggerSmartContract.contract_address'
1942
+ | 'TriggerSmartContract.call_value'
1943
+ | 'TriggerSmartContract.token_id'
1944
+ | 'TriggerSmartContract.call_token_value';
1945
+
1946
+ field_source: 'tron_transaction';
1947
+
1948
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1949
+
1950
+ value: string | Array<string>;
1951
+ }
1768
1952
  }
1769
1953
  }
1770
1954
 
@@ -1792,6 +1976,7 @@ export interface PolicyUpdateRuleParams {
1792
1976
  | PolicyUpdateRuleParams.SolanaSystemProgramInstructionCondition
1793
1977
  | PolicyUpdateRuleParams.SolanaTokenProgramInstructionCondition
1794
1978
  | PolicyUpdateRuleParams.SystemCondition
1979
+ | PolicyUpdateRuleParams.TronTransactionCondition
1795
1980
  >;
1796
1981
 
1797
1982
  /**
@@ -1800,11 +1985,13 @@ export interface PolicyUpdateRuleParams {
1800
1985
  method:
1801
1986
  | 'eth_sendTransaction'
1802
1987
  | 'eth_signTransaction'
1988
+ | 'eth_signUserOperation'
1803
1989
  | 'eth_signTypedData_v4'
1804
1990
  | 'eth_sign7702Authorization'
1805
1991
  | 'signTransaction'
1806
1992
  | 'signAndSendTransaction'
1807
1993
  | 'exportPrivateKey'
1994
+ | 'signTransactionBytes'
1808
1995
  | '*';
1809
1996
 
1810
1997
  /**
@@ -1968,6 +2155,29 @@ export namespace PolicyUpdateRuleParams {
1968
2155
 
1969
2156
  value: string | Array<string>;
1970
2157
  }
2158
+
2159
+ /**
2160
+ * TRON transaction fields for TransferContract and TriggerSmartContract
2161
+ * transaction types.
2162
+ */
2163
+ export interface TronTransactionCondition {
2164
+ /**
2165
+ * Supported TRON transaction fields in format "TransactionType.field_name"
2166
+ */
2167
+ field:
2168
+ | 'TransferContract.to_address'
2169
+ | 'TransferContract.amount'
2170
+ | 'TriggerSmartContract.contract_address'
2171
+ | 'TriggerSmartContract.call_value'
2172
+ | 'TriggerSmartContract.token_id'
2173
+ | 'TriggerSmartContract.call_token_value';
2174
+
2175
+ field_source: 'tron_transaction';
2176
+
2177
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
2178
+
2179
+ value: string | Array<string>;
2180
+ }
1971
2181
  }
1972
2182
 
1973
2183
  export interface PolicyGetRuleParams {
@@ -269,7 +269,7 @@ export class Users extends APIResource {
269
269
  * @example
270
270
  * ```ts
271
271
  * const user = await client.users.search({
272
- * search_term: 'search_term',
272
+ * searchTerm: 'searchTerm',
273
273
  * });
274
274
  * ```
275
275
  */
@@ -1109,8 +1109,8 @@ export namespace LinkedAccountEmbeddedWalletWithID {
1109
1109
  export type SmartWalletType =
1110
1110
  | 'safe'
1111
1111
  | 'kernel'
1112
- | 'biconomy'
1113
1112
  | 'light_account'
1113
+ | 'biconomy'
1114
1114
  | 'coinbase_smart_wallet'
1115
1115
  | 'thirdweb';
1116
1116
 
@@ -1430,20 +1430,10 @@ export interface UserPregenerateWalletsParams {
1430
1430
 
1431
1431
  export namespace UserPregenerateWalletsParams {
1432
1432
  export interface Wallet {
1433
- chain_type:
1434
- | 'cosmos'
1435
- | 'stellar'
1436
- | 'sui'
1437
- | 'aptos'
1438
- | 'movement'
1439
- | 'tron'
1440
- | 'bitcoin-segwit'
1441
- | 'near'
1442
- | 'ton'
1443
- | 'starknet'
1444
- | 'spark'
1445
- | 'solana'
1446
- | 'ethereum';
1433
+ /**
1434
+ * The wallet chain types.
1435
+ */
1436
+ chain_type: WalletsAPI.WalletChainType;
1447
1437
 
1448
1438
  additional_signers?: Array<Wallet.AdditionalSigner>;
1449
1439
 
@@ -1465,7 +1455,7 @@ export type UserSearchParams = UserSearchParams.Variant0 | UserSearchParams.Vari
1465
1455
 
1466
1456
  export declare namespace UserSearchParams {
1467
1457
  export interface Variant0 {
1468
- search_term: string;
1458
+ searchTerm: string;
1469
1459
  }
1470
1460
 
1471
1461
  export interface Variant1 {
@@ -9,6 +9,27 @@ export {
9
9
  type Wallet,
10
10
  type WalletChainType,
11
11
  type WalletRevokeResponse,
12
+ type ExtendedChainType,
13
+ type EthereumPersonalSignRpcInput,
14
+ type EthereumSignTransactionRpcInput,
15
+ type EthereumSendTransactionRpcInput,
16
+ type EthereumSignTypedDataRpcInput,
17
+ type EthereumSignUserOperationRpcInput,
18
+ type EthereumSign7702AuthorizationRpcInput,
19
+ type EthereumSecp256k1SignRpcInput,
20
+ type SolanaSignTransactionRpcInput,
21
+ type SolanaSignAndSendTransactionRpcInput,
22
+ type SolanaSignMessageRpcInput,
23
+ type EthereumSignTransactionRpcResponse,
24
+ type EthereumSendTransactionRpcResponse,
25
+ type EthereumPersonalSignRpcResponse,
26
+ type EthereumSignTypedDataRpcResponse,
27
+ type EthereumSignUserOperationRpcResponse,
28
+ type EthereumSign7702AuthorizationRpcResponse,
29
+ type EthereumSecp256k1SignRpcResponse,
30
+ type SolanaSignTransactionRpcResponse,
31
+ type SolanaSignAndSendTransactionRpcResponse,
32
+ type SolanaSignMessageRpcResponse,
12
33
  type WalletExportResponse,
13
34
  type WalletInitImportResponse,
14
35
  type WalletRawSignResponse,
@@ -13,7 +13,7 @@ export class Transactions extends APIResource {
13
13
  * ```ts
14
14
  * const transaction = await client.wallets.transactions.get(
15
15
  * 'wallet_id',
16
- * { asset: 'usdc', chain: 'base' },
16
+ * { asset: 'usdc', chain: 'ethereum' },
17
17
  * );
18
18
  * ```
19
19
  */
@@ -141,11 +141,13 @@ export namespace TransactionGetResponse {
141
141
  export interface TransactionGetParams {
142
142
  asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'sol' | Array<'usdc' | 'eth' | 'pol' | 'usdt' | 'sol'>;
143
143
 
144
- chain: 'base';
144
+ chain: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana';
145
145
 
146
146
  cursor?: string;
147
147
 
148
148
  limit?: number | null;
149
+
150
+ tx_hash?: string;
149
151
  }
150
152
 
151
153
  export declare namespace Transactions {