@privy-io/api-types 0.17.0 → 0.19.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 (84) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/client.d.mts +6 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -6
  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/accounts.d.mts +1 -1
  10. package/resources/accounts.d.ts +1 -1
  11. package/resources/apps.d.mts +4 -3
  12. package/resources/apps.d.mts.map +1 -1
  13. package/resources/apps.d.ts +4 -3
  14. package/resources/apps.d.ts.map +1 -1
  15. package/resources/client-auth.d.mts +32 -2
  16. package/resources/client-auth.d.mts.map +1 -1
  17. package/resources/client-auth.d.ts +32 -2
  18. package/resources/client-auth.d.ts.map +1 -1
  19. package/resources/index.d.mts +3 -3
  20. package/resources/index.d.mts.map +1 -1
  21. package/resources/index.d.ts +3 -3
  22. package/resources/index.d.ts.map +1 -1
  23. package/resources/index.js.map +1 -1
  24. package/resources/index.mjs.map +1 -1
  25. package/resources/onramps.d.mts +4 -4
  26. package/resources/onramps.d.ts +4 -4
  27. package/resources/swaps.d.mts +2 -1
  28. package/resources/swaps.d.mts.map +1 -1
  29. package/resources/swaps.d.ts +2 -1
  30. package/resources/swaps.d.ts.map +1 -1
  31. package/resources/users.d.mts +9 -2
  32. package/resources/users.d.mts.map +1 -1
  33. package/resources/users.d.ts +9 -2
  34. package/resources/users.d.ts.map +1 -1
  35. package/resources/wallets/actions.d.mts +8 -8
  36. package/resources/wallets/actions.d.ts +8 -8
  37. package/resources/wallets/balance.d.mts +4 -4
  38. package/resources/wallets/balance.d.mts.map +1 -1
  39. package/resources/wallets/balance.d.ts +4 -4
  40. package/resources/wallets/balance.d.ts.map +1 -1
  41. package/resources/wallets/index.d.mts +1 -1
  42. package/resources/wallets/index.d.mts.map +1 -1
  43. package/resources/wallets/index.d.ts +1 -1
  44. package/resources/wallets/index.d.ts.map +1 -1
  45. package/resources/wallets/index.js.map +1 -1
  46. package/resources/wallets/index.mjs.map +1 -1
  47. package/resources/wallets/transactions.d.mts +1 -1
  48. package/resources/wallets/transactions.d.mts.map +1 -1
  49. package/resources/wallets/transactions.d.ts +1 -1
  50. package/resources/wallets/transactions.d.ts.map +1 -1
  51. package/resources/wallets/wallets.d.mts +149 -57
  52. package/resources/wallets/wallets.d.mts.map +1 -1
  53. package/resources/wallets/wallets.d.ts +149 -57
  54. package/resources/wallets/wallets.d.ts.map +1 -1
  55. package/resources/wallets/wallets.js.map +1 -1
  56. package/resources/wallets/wallets.mjs.map +1 -1
  57. package/resources/webhooks.d.mts +22 -15
  58. package/resources/webhooks.d.mts.map +1 -1
  59. package/resources/webhooks.d.ts +22 -15
  60. package/resources/webhooks.d.ts.map +1 -1
  61. package/resources/yield.d.mts +7 -4
  62. package/resources/yield.d.mts.map +1 -1
  63. package/resources/yield.d.ts +7 -4
  64. package/resources/yield.d.ts.map +1 -1
  65. package/src/client.ts +18 -0
  66. package/src/resources/accounts.ts +1 -1
  67. package/src/resources/apps.ts +5 -3
  68. package/src/resources/client-auth.ts +43 -1
  69. package/src/resources/index.ts +9 -0
  70. package/src/resources/onramps.ts +4 -4
  71. package/src/resources/swaps.ts +2 -1
  72. package/src/resources/users.ts +11 -1
  73. package/src/resources/wallets/actions.ts +8 -8
  74. package/src/resources/wallets/balance.ts +4 -2
  75. package/src/resources/wallets/index.ts +3 -0
  76. package/src/resources/wallets/transactions.ts +1 -0
  77. package/src/resources/wallets/wallets.ts +169 -51
  78. package/src/resources/webhooks.ts +22 -15
  79. package/src/resources/yield.ts +7 -4
  80. package/src/version.ts +1 -1
  81. package/version.d.mts +1 -1
  82. package/version.d.ts +1 -1
  83. package/version.js +1 -1
  84. package/version.mjs +1 -1
@@ -625,7 +625,7 @@ export interface CustomTokenTransferSource {
625
625
 
626
626
  /**
627
627
  * The blockchain network on which to perform the transfer. Supported chains
628
- * include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
628
+ * include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
629
629
  * respective testnets.
630
630
  */
631
631
  chain: string;
@@ -723,7 +723,7 @@ export interface EthereumPersonalSignRpcInput {
723
723
  address?: string;
724
724
 
725
725
  /**
726
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
726
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
727
727
  */
728
728
  caip2?: AppsAPI.Caip2;
729
729
 
@@ -817,7 +817,7 @@ export interface EthereumSecp256k1SignRpcInput {
817
817
  */
818
818
  export interface EthereumSecp256k1SignRpcInputParams {
819
819
  /**
820
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
820
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
821
821
  * bytes).
822
822
  */
823
823
  hash: Hex;
@@ -842,7 +842,7 @@ export interface EthereumSecp256k1SignRpcResponseData {
842
842
  encoding: 'hex';
843
843
 
844
844
  /**
845
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
845
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
846
846
  * bytes).
847
847
  */
848
848
  signature: Hex;
@@ -855,7 +855,7 @@ export interface EthereumSendCallsCall {
855
855
  to: string;
856
856
 
857
857
  /**
858
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
858
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
859
859
  * bytes).
860
860
  */
861
861
  data?: Hex;
@@ -873,7 +873,7 @@ export interface EthereumSendCallsCall {
873
873
  */
874
874
  export interface EthereumSendCallsRpcInput {
875
875
  /**
876
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
876
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
877
877
  */
878
878
  caip2: AppsAPI.Caip2;
879
879
 
@@ -889,13 +889,19 @@ export interface EthereumSendCallsRpcInput {
889
889
  chain_type?: 'ethereum';
890
890
 
891
891
  /**
892
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
892
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
893
893
  * bytes).
894
894
  */
895
895
  experimental_data_suffix?: Hex;
896
896
 
897
897
  sponsor?: boolean;
898
898
 
899
+ /**
900
+ * Options for user-pays gas sponsorship on the RPC endpoint. When provided
901
+ * alongside `sponsor: true`, controls which token asset the user pays gas with.
902
+ */
903
+ sponsor_options?: RpcSponsorOptions;
904
+
899
905
  wallet_id?: string;
900
906
  }
901
907
 
@@ -923,7 +929,7 @@ export interface EthereumSendCallsRpcResponse {
923
929
  */
924
930
  export interface EthereumSendCallsRpcResponseData {
925
931
  /**
926
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
932
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
927
933
  */
928
934
  caip2: AppsAPI.Caip2;
929
935
 
@@ -935,7 +941,7 @@ export interface EthereumSendCallsRpcResponseData {
935
941
  */
936
942
  export interface EthereumSendTransactionRpcInput {
937
943
  /**
938
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
944
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
939
945
  */
940
946
  caip2: AppsAPI.Caip2;
941
947
 
@@ -951,7 +957,7 @@ export interface EthereumSendTransactionRpcInput {
951
957
  chain_type?: 'ethereum';
952
958
 
953
959
  /**
954
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
960
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
955
961
  * bytes).
956
962
  */
957
963
  experimental_data_suffix?: Hex;
@@ -960,6 +966,12 @@ export interface EthereumSendTransactionRpcInput {
960
966
 
961
967
  sponsor?: boolean;
962
968
 
969
+ /**
970
+ * Options for user-pays gas sponsorship on the RPC endpoint. When provided
971
+ * alongside `sponsor: true`, controls which token asset the user pays gas with.
972
+ */
973
+ sponsor_options?: RpcSponsorOptions;
974
+
963
975
  wallet_id?: string;
964
976
  }
965
977
 
@@ -991,7 +1003,7 @@ export interface EthereumSendTransactionRpcResponse {
991
1003
  */
992
1004
  export interface EthereumSendTransactionRpcResponseData {
993
1005
  /**
994
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
1006
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
995
1007
  */
996
1008
  caip2: AppsAPI.Caip2;
997
1009
 
@@ -1030,13 +1042,13 @@ export interface EthereumSign7702Authorization {
1030
1042
  nonce: Quantity;
1031
1043
 
1032
1044
  /**
1033
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
1045
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
1034
1046
  * bytes).
1035
1047
  */
1036
1048
  r: Hex;
1037
1049
 
1038
1050
  /**
1039
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
1051
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
1040
1052
  * bytes).
1041
1053
  */
1042
1054
  s: Hex;
@@ -1171,7 +1183,7 @@ export interface EthereumSignTypedDataRpcInput {
1171
1183
  address?: string;
1172
1184
 
1173
1185
  /**
1174
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
1186
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
1175
1187
  */
1176
1188
  caip2?: AppsAPI.Caip2;
1177
1189
 
@@ -1553,7 +1565,7 @@ export interface HpkeImportConfig {
1553
1565
  }
1554
1566
 
1555
1567
  /**
1556
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
1568
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
1557
1569
  * bytes).
1558
1570
  */
1559
1571
  export type Hex = string;
@@ -1573,14 +1585,14 @@ export interface IntentBinding {
1573
1585
  */
1574
1586
  export interface NamedTokenTransferSource {
1575
1587
  /**
1576
- * The asset to transfer. Supported: 'usdc', 'usdb', 'usdt' (stablecoins), 'eth'
1577
- * (native Ethereum), 'sol' (native Solana).
1588
+ * The asset to transfer. Supported: 'usdc', 'usdb', 'usdt', 'pathusd'
1589
+ * (stablecoins), 'eth' (native Ethereum), 'sol' (native Solana).
1578
1590
  */
1579
1591
  asset: string;
1580
1592
 
1581
1593
  /**
1582
1594
  * The blockchain network on which to perform the transfer. Supported chains
1583
- * include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
1595
+ * include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
1584
1596
  * respective testnets.
1585
1597
  */
1586
1598
  chain: string;
@@ -1783,7 +1795,7 @@ export interface RawSignBytesParams {
1783
1795
  */
1784
1796
  export interface RawSignHashParams {
1785
1797
  /**
1786
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
1798
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
1787
1799
  * bytes).
1788
1800
  */
1789
1801
  hash: Hex;
@@ -1824,7 +1836,7 @@ export interface RawSignResponseData {
1824
1836
  encoding: 'hex';
1825
1837
 
1826
1838
  /**
1827
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
1839
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
1828
1840
  * bytes).
1829
1841
  */
1830
1842
  signature: Hex;
@@ -1868,6 +1880,24 @@ export interface RelayerFee {
1868
1880
  recipient?: string;
1869
1881
  }
1870
1882
 
1883
+ /**
1884
+ * Token asset identifier for user-pays gas sponsorship. Common values: 'usdc',
1885
+ * 'usdt', 'eurc', 'usdg', 'usdc_e'. Available tokens vary by chain.
1886
+ */
1887
+ export type RpcSponsorAsset = string;
1888
+
1889
+ /**
1890
+ * Options for user-pays gas sponsorship on the RPC endpoint. When provided
1891
+ * alongside `sponsor: true`, controls which token asset the user pays gas with.
1892
+ */
1893
+ export interface RpcSponsorOptions {
1894
+ /**
1895
+ * Token asset identifier for user-pays gas sponsorship. Common values: 'usdc',
1896
+ * 'usdt', 'eurc', 'usdg', 'usdc_e'. Available tokens vary by chain.
1897
+ */
1898
+ asset: RpcSponsorAsset;
1899
+ }
1900
+
1871
1901
  /**
1872
1902
  * Input for exporting a wallet (private key or seed phrase) with HPKE encryption.
1873
1903
  */
@@ -1953,7 +1983,7 @@ export type SolanaRpcResponse =
1953
1983
  */
1954
1984
  export interface SolanaSignAndSendTransactionRpcInput {
1955
1985
  /**
1956
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
1986
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
1957
1987
  */
1958
1988
  caip2: AppsAPI.Caip2;
1959
1989
 
@@ -1974,6 +2004,12 @@ export interface SolanaSignAndSendTransactionRpcInput {
1974
2004
 
1975
2005
  sponsor?: boolean;
1976
2006
 
2007
+ /**
2008
+ * Options for user-pays gas sponsorship on the RPC endpoint. When provided
2009
+ * alongside `sponsor: true`, controls which token asset the user pays gas with.
2010
+ */
2011
+ sponsor_options?: RpcSponsorOptions;
2012
+
1977
2013
  wallet_id?: string;
1978
2014
  }
1979
2015
 
@@ -2003,7 +2039,7 @@ export interface SolanaSignAndSendTransactionRpcResponse {
2003
2039
  */
2004
2040
  export interface SolanaSignAndSendTransactionRpcResponseData {
2005
2041
  /**
2006
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
2042
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
2007
2043
  */
2008
2044
  caip2: AppsAPI.Caip2;
2009
2045
 
@@ -2953,7 +2989,7 @@ export interface TempoAaAuthorization {
2953
2989
  nonce: Quantity;
2954
2990
 
2955
2991
  /**
2956
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2992
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
2957
2993
  * bytes).
2958
2994
  */
2959
2995
  signature: Hex;
@@ -2966,7 +3002,7 @@ export interface TempoCall {
2966
3002
  to: string;
2967
3003
 
2968
3004
  /**
2969
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3005
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
2970
3006
  * bytes).
2971
3007
  */
2972
3008
  data?: Hex;
@@ -2983,13 +3019,13 @@ export interface TempoCall {
2983
3019
  */
2984
3020
  export interface TempoFeePayerSignature {
2985
3021
  /**
2986
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3022
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
2987
3023
  * bytes).
2988
3024
  */
2989
3025
  r: Hex;
2990
3026
 
2991
3027
  /**
2992
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3028
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
2993
3029
  * bytes).
2994
3030
  */
2995
3031
  s: Hex;
@@ -3036,7 +3072,7 @@ export interface TokenTransferDestination {
3036
3072
 
3037
3073
  /**
3038
3074
  * The destination blockchain network. Required for cross-chain transfers (e.g.,
3039
- * source 'base' to destination 'arbitrum').
3075
+ * source 'tempo' to destination 'base').
3040
3076
  */
3041
3077
  chain?: string;
3042
3078
  }
@@ -3070,6 +3106,7 @@ export type TransactionChainNameInput =
3070
3106
  | 'arbitrum'
3071
3107
  | 'avalanche'
3072
3108
  | 'base'
3109
+ | 'base_sepolia'
3073
3110
  | 'bsc'
3074
3111
  | 'tempo'
3075
3112
  | 'linea'
@@ -3195,6 +3232,7 @@ export interface TransferReceivedTransactionDetail {
3195
3232
  | 'usdt'
3196
3233
  | 'eurc'
3197
3234
  | 'usdb'
3235
+ | 'pathusd'
3198
3236
  | 'sol'
3199
3237
  | 'trx'
3200
3238
  | (string & {});
@@ -3275,6 +3313,7 @@ export interface TransferSentTransactionDetail {
3275
3313
  | 'usdt'
3276
3314
  | 'eurc'
3277
3315
  | 'usdb'
3316
+ | 'pathusd'
3278
3317
  | 'sol'
3279
3318
  | 'trx'
3280
3319
  | (string & {});
@@ -3370,7 +3409,7 @@ export interface TronSendTransactionRpcInput {
3370
3409
  params: TronSendTransactionRpcInputParams;
3371
3410
 
3372
3411
  /**
3373
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
3412
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
3374
3413
  */
3375
3414
  caip2?: AppsAPI.Caip2;
3376
3415
  }
@@ -3405,7 +3444,7 @@ export interface TronSendTransactionRpcResponse {
3405
3444
  */
3406
3445
  export interface TronSendTransactionRpcResponseData {
3407
3446
  /**
3408
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
3447
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
3409
3448
  */
3410
3449
  caip2: AppsAPI.Caip2;
3411
3450
 
@@ -3548,7 +3587,7 @@ export interface UnsignedStandardEthereumTransaction {
3548
3587
  chain_id?: Quantity;
3549
3588
 
3550
3589
  /**
3551
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3590
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3552
3591
  * bytes).
3553
3592
  */
3554
3593
  data?: Hex;
@@ -3671,37 +3710,37 @@ export interface UnsignedTempoTransaction {
3671
3710
  */
3672
3711
  export interface UserOperationInput {
3673
3712
  /**
3674
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3713
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3675
3714
  * bytes).
3676
3715
  */
3677
3716
  call_data: Hex;
3678
3717
 
3679
3718
  /**
3680
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3719
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3681
3720
  * bytes).
3682
3721
  */
3683
3722
  call_gas_limit: Hex;
3684
3723
 
3685
3724
  /**
3686
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3725
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3687
3726
  * bytes).
3688
3727
  */
3689
3728
  max_fee_per_gas: Hex;
3690
3729
 
3691
3730
  /**
3692
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3731
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3693
3732
  * bytes).
3694
3733
  */
3695
3734
  max_priority_fee_per_gas: Hex;
3696
3735
 
3697
3736
  /**
3698
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3737
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3699
3738
  * bytes).
3700
3739
  */
3701
3740
  nonce: Hex;
3702
3741
 
3703
3742
  /**
3704
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3743
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3705
3744
  * bytes).
3706
3745
  */
3707
3746
  pre_verification_gas: Hex;
@@ -3709,27 +3748,35 @@ export interface UserOperationInput {
3709
3748
  sender: string;
3710
3749
 
3711
3750
  /**
3712
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3751
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3713
3752
  * bytes).
3714
3753
  */
3715
3754
  verification_gas_limit: Hex;
3716
3755
 
3756
+ factory?: string;
3757
+
3758
+ /**
3759
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3760
+ * bytes).
3761
+ */
3762
+ factory_data?: Hex;
3763
+
3717
3764
  paymaster?: string;
3718
3765
 
3719
3766
  /**
3720
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3767
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3721
3768
  * bytes).
3722
3769
  */
3723
3770
  paymaster_data?: Hex;
3724
3771
 
3725
3772
  /**
3726
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3773
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3727
3774
  * bytes).
3728
3775
  */
3729
3776
  paymaster_post_op_gas_limit?: Hex;
3730
3777
 
3731
3778
  /**
3732
- * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
3779
+ * A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
3733
3780
  * bytes).
3734
3781
  */
3735
3782
  paymaster_verification_gas_limit?: Hex;
@@ -3817,6 +3864,11 @@ export interface Wallet {
3817
3864
  */
3818
3865
  display_name?: string;
3819
3866
 
3867
+ /**
3868
+ * The entity a wallet is attributed to.
3869
+ */
3870
+ entity?: WalletEntity | null;
3871
+
3820
3872
  /**
3821
3873
  * A customer-provided identifier for mapping to external systems. Write-once, set
3822
3874
  * only at creation.
@@ -3886,6 +3938,7 @@ export type WalletAsset =
3886
3938
  | 'usdt'
3887
3939
  | 'eurc'
3888
3940
  | 'usdb'
3941
+ | 'pathusd'
3889
3942
  | 'sol'
3890
3943
  | 'trx';
3891
3944
 
@@ -3905,6 +3958,7 @@ export type WalletAssetChainNameInput =
3905
3958
  | 'solana'
3906
3959
  | 'tron'
3907
3960
  | 'zksync_era'
3961
+ | 'hoodi'
3908
3962
  | 'sepolia'
3909
3963
  | 'arbitrum_sepolia'
3910
3964
  | 'avalanche_fuji'
@@ -4177,6 +4231,18 @@ export interface WalletCustodian {
4177
4231
  provider_user_id: string;
4178
4232
  }
4179
4233
 
4234
+ /**
4235
+ * The entity a wallet is attributed to.
4236
+ */
4237
+ export interface WalletEntity {
4238
+ /**
4239
+ * The Privy DID of the entity.
4240
+ */
4241
+ id: string;
4242
+
4243
+ type: 'user';
4244
+ }
4245
+
4180
4246
  /**
4181
4247
  * The entropy type of the wallet.
4182
4248
  */
@@ -4194,7 +4260,8 @@ export type WalletEthereumAsset =
4194
4260
  | 'bnb'
4195
4261
  | 'usdt'
4196
4262
  | 'eurc'
4197
- | 'usdb';
4263
+ | 'usdb'
4264
+ | 'pathusd';
4198
4265
 
4199
4266
  /**
4200
4267
  * Request body for exporting a wallet private key.
@@ -4390,6 +4457,11 @@ export interface WalletCreateParams {
4390
4457
  */
4391
4458
  display_name?: string;
4392
4459
 
4460
+ /**
4461
+ * Body param: The entity the wallet is attributed to.
4462
+ */
4463
+ entity?: WalletCreateParams.Entity;
4464
+
4393
4465
  /**
4394
4466
  * Body param: A customer-provided identifier for mapping to external systems.
4395
4467
  * URL-safe characters only ([a-zA-Z0-9_-]), max 64 chars. Write-once: cannot be
@@ -4421,6 +4493,17 @@ export interface WalletCreateParams {
4421
4493
  'privy-idempotency-key'?: string;
4422
4494
  }
4423
4495
 
4496
+ export namespace WalletCreateParams {
4497
+ /**
4498
+ * The entity the wallet is attributed to.
4499
+ */
4500
+ export interface Entity {
4501
+ id: string;
4502
+
4503
+ type: 'user';
4504
+ }
4505
+ }
4506
+
4424
4507
  export interface WalletUpdateParams {
4425
4508
  /**
4426
4509
  * Body param: Additional signers for the wallet.
@@ -4483,6 +4566,11 @@ export interface WalletListParams extends CursorParams {
4483
4566
  */
4484
4567
  chain_type?: WalletChainType;
4485
4568
 
4569
+ /**
4570
+ * Filter wallets by the entity ID the wallet is attributed to.
4571
+ */
4572
+ entity_id?: string;
4573
+
4486
4574
  /**
4487
4575
  * Filter wallets by external ID.
4488
4576
  */
@@ -4638,7 +4726,8 @@ export declare namespace WalletRpcParams {
4638
4726
 
4639
4727
  export interface EthereumSendTransactionRpcInput {
4640
4728
  /**
4641
- * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
4729
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
4730
+ * for Ethereum).
4642
4731
  */
4643
4732
  caip2: AppsAPI.Caip2;
4644
4733
 
@@ -4663,8 +4752,8 @@ export declare namespace WalletRpcParams {
4663
4752
  chain_type?: 'ethereum';
4664
4753
 
4665
4754
  /**
4666
- * Body param: A hex-encoded string prefixed with '0x', capped at 100002 characters
4667
- * (50,000 bytes).
4755
+ * Body param: A hex-encoded string prefixed with '0x', capped at 300002 characters
4756
+ * (150,000 bytes).
4668
4757
  */
4669
4758
  experimental_data_suffix?: Hex;
4670
4759
 
@@ -4678,6 +4767,13 @@ export declare namespace WalletRpcParams {
4678
4767
  */
4679
4768
  sponsor?: boolean;
4680
4769
 
4770
+ /**
4771
+ * Body param: Options for user-pays gas sponsorship on the RPC endpoint. When
4772
+ * provided alongside `sponsor: true`, controls which token asset the user pays gas
4773
+ * with.
4774
+ */
4775
+ sponsor_options?: RpcSponsorOptions;
4776
+
4681
4777
  /**
4682
4778
  * Body param
4683
4779
  */
@@ -4719,7 +4815,8 @@ export declare namespace WalletRpcParams {
4719
4815
  address?: string;
4720
4816
 
4721
4817
  /**
4722
- * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
4818
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
4819
+ * for Ethereum).
4723
4820
  */
4724
4821
  caip2?: AppsAPI.Caip2;
4725
4822
 
@@ -4775,7 +4872,8 @@ export declare namespace WalletRpcParams {
4775
4872
  address?: string;
4776
4873
 
4777
4874
  /**
4778
- * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
4875
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
4876
+ * for Ethereum).
4779
4877
  */
4780
4878
  caip2?: AppsAPI.Caip2;
4781
4879
 
@@ -4951,7 +5049,8 @@ export declare namespace WalletRpcParams {
4951
5049
 
4952
5050
  export interface EthereumSendCallsRpcInput {
4953
5051
  /**
4954
- * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
5052
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
5053
+ * for Ethereum).
4955
5054
  */
4956
5055
  caip2: AppsAPI.Caip2;
4957
5056
 
@@ -4976,8 +5075,8 @@ export declare namespace WalletRpcParams {
4976
5075
  chain_type?: 'ethereum';
4977
5076
 
4978
5077
  /**
4979
- * Body param: A hex-encoded string prefixed with '0x', capped at 100002 characters
4980
- * (50,000 bytes).
5078
+ * Body param: A hex-encoded string prefixed with '0x', capped at 300002 characters
5079
+ * (150,000 bytes).
4981
5080
  */
4982
5081
  experimental_data_suffix?: Hex;
4983
5082
 
@@ -4986,6 +5085,13 @@ export declare namespace WalletRpcParams {
4986
5085
  */
4987
5086
  sponsor?: boolean;
4988
5087
 
5088
+ /**
5089
+ * Body param: Options for user-pays gas sponsorship on the RPC endpoint. When
5090
+ * provided alongside `sponsor: true`, controls which token asset the user pays gas
5091
+ * with.
5092
+ */
5093
+ sponsor_options?: RpcSponsorOptions;
5094
+
4989
5095
  /**
4990
5096
  * Body param
4991
5097
  */
@@ -5057,7 +5163,8 @@ export declare namespace WalletRpcParams {
5057
5163
 
5058
5164
  export interface SolanaSignAndSendTransactionRpcInput {
5059
5165
  /**
5060
- * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
5166
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
5167
+ * for Ethereum).
5061
5168
  */
5062
5169
  caip2: AppsAPI.Caip2;
5063
5170
 
@@ -5096,6 +5203,13 @@ export declare namespace WalletRpcParams {
5096
5203
  */
5097
5204
  sponsor?: boolean;
5098
5205
 
5206
+ /**
5207
+ * Body param: Options for user-pays gas sponsorship on the RPC endpoint. When
5208
+ * provided alongside `sponsor: true`, controls which token asset the user pays gas
5209
+ * with.
5210
+ */
5211
+ sponsor_options?: RpcSponsorOptions;
5212
+
5099
5213
  /**
5100
5214
  * Body param
5101
5215
  */
@@ -5582,7 +5696,8 @@ export declare namespace WalletRpcParams {
5582
5696
  params: TronSendTransactionRpcInputParams;
5583
5697
 
5584
5698
  /**
5585
- * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
5699
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
5700
+ * for Ethereum).
5586
5701
  */
5587
5702
  caip2?: AppsAPI.Caip2;
5588
5703
 
@@ -5783,6 +5898,8 @@ export declare namespace Wallets {
5783
5898
  type RawWalletAuthenticateResponse as RawWalletAuthenticateResponse,
5784
5899
  type RecipientPublicKey as RecipientPublicKey,
5785
5900
  type RelayerFee as RelayerFee,
5901
+ type RpcSponsorAsset as RpcSponsorAsset,
5902
+ type RpcSponsorOptions as RpcSponsorOptions,
5786
5903
  type SeedPhraseExportInput as SeedPhraseExportInput,
5787
5904
  type SeedPhraseExportResponse as SeedPhraseExportResponse,
5788
5905
  type SignatureOptions as SignatureOptions,
@@ -5918,6 +6035,7 @@ export declare namespace Wallets {
5918
6035
  type WalletChainType as WalletChainType,
5919
6036
  type WalletCreateWalletsWithRecoveryResponse as WalletCreateWalletsWithRecoveryResponse,
5920
6037
  type WalletCustodian as WalletCustodian,
6038
+ type WalletEntity as WalletEntity,
5921
6039
  type WalletEntropyType as WalletEntropyType,
5922
6040
  type WalletEthereumAsset as WalletEthereumAsset,
5923
6041
  type WalletExportRequestBody as WalletExportRequestBody,