privy_ruby 0.3.0 → 0.4.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 (107) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/README.md +1 -1
  4. data/lib/privy/authorization/canonicalization.rb +2 -0
  5. data/lib/privy/models/rpc_intent_request_details.rb +2 -2
  6. data/lib/privy/models/rpc_intent_response.rb +2 -2
  7. data/lib/privy/models/spark_coop_exit_fee_quote.rb +101 -0
  8. data/lib/privy/models/spark_coop_exit_request.rb +90 -0
  9. data/lib/privy/models/spark_currency_amount.rb +23 -0
  10. data/lib/privy/models/spark_exit_speed.rb +17 -0
  11. data/lib/privy/models/spark_get_withdrawal_fee_quote_rpc_input.rb +43 -0
  12. data/lib/privy/models/spark_get_withdrawal_fee_quote_rpc_input_params.rb +23 -0
  13. data/lib/privy/models/spark_get_withdrawal_fee_quote_rpc_response.rb +35 -0
  14. data/lib/privy/models/spark_rpc_input.rb +7 -1
  15. data/lib/privy/models/spark_rpc_response.rb +7 -1
  16. data/lib/privy/models/spark_withdraw_rpc_input.rb +43 -0
  17. data/lib/privy/models/spark_withdraw_rpc_input_params.rb +53 -0
  18. data/lib/privy/models/spark_withdraw_rpc_response.rb +35 -0
  19. data/lib/privy/models/transaction_chain_name_input.rb +25 -0
  20. data/lib/privy/models/transfer_received_transaction_detail.rb +6 -0
  21. data/lib/privy/models/transfer_sent_transaction_detail.rb +6 -0
  22. data/lib/privy/models/wallet_asset.rb +2 -0
  23. data/lib/privy/models/wallet_asset_chain_name_input.rb +3 -0
  24. data/lib/privy/models/wallet_creation_input.rb +11 -1
  25. data/lib/privy/models/wallet_ethereum_asset.rb +1 -0
  26. data/lib/privy/models/wallet_rpc_request_body.rb +7 -1
  27. data/lib/privy/models/wallet_rpc_response.rb +7 -1
  28. data/lib/privy/models/wallet_tron_asset.rb +17 -0
  29. data/lib/privy/models/wallets/aave_vault_details.rb +130 -0
  30. data/lib/privy/models/wallets/balance_get_params.rb +6 -0
  31. data/lib/privy/models/wallets/balance_get_response.rb +6 -0
  32. data/lib/privy/models/wallets/ethereum_earn_vault_details_response.rb +11 -84
  33. data/lib/privy/models/wallets/morpho_vault_details.rb +130 -0
  34. data/lib/privy/models/wallets/transaction_get_params.rb +10 -20
  35. data/lib/privy/models.rb +24 -0
  36. data/lib/privy/public_api/services/tron.rb +103 -0
  37. data/lib/privy/public_api/services/wallets.rb +4 -0
  38. data/lib/privy/resources/intents.rb +1 -1
  39. data/lib/privy/resources/wallets/transactions.rb +1 -1
  40. data/lib/privy/resources/wallets.rb +2 -2
  41. data/lib/privy/version.rb +1 -1
  42. data/lib/privy.rb +15 -0
  43. data/rbi/privy/models/rpc_intent_request_details.rbi +6 -0
  44. data/rbi/privy/models/rpc_intent_response.rbi +2 -0
  45. data/rbi/privy/models/spark_coop_exit_fee_quote.rbi +143 -0
  46. data/rbi/privy/models/spark_coop_exit_request.rbi +114 -0
  47. data/rbi/privy/models/spark_currency_amount.rbi +31 -0
  48. data/rbi/privy/models/spark_exit_speed.rbi +21 -0
  49. data/rbi/privy/models/spark_get_withdrawal_fee_quote_rpc_input.rbi +94 -0
  50. data/rbi/privy/models/spark_get_withdrawal_fee_quote_rpc_input_params.rbi +34 -0
  51. data/rbi/privy/models/spark_get_withdrawal_fee_quote_rpc_response.rbi +82 -0
  52. data/rbi/privy/models/spark_rpc_input.rbi +3 -1
  53. data/rbi/privy/models/spark_rpc_response.rbi +3 -1
  54. data/rbi/privy/models/spark_withdraw_rpc_input.rbi +77 -0
  55. data/rbi/privy/models/spark_withdraw_rpc_input_params.rbi +80 -0
  56. data/rbi/privy/models/spark_withdraw_rpc_response.rbi +71 -0
  57. data/rbi/privy/models/transaction_chain_name_input.rbi +38 -0
  58. data/rbi/privy/models/transfer_received_transaction_detail.rbi +10 -0
  59. data/rbi/privy/models/transfer_sent_transaction_detail.rbi +4 -0
  60. data/rbi/privy/models/wallet_asset.rbi +2 -0
  61. data/rbi/privy/models/wallet_asset_chain_name_input.rbi +4 -0
  62. data/rbi/privy/models/wallet_creation_input.rbi +15 -0
  63. data/rbi/privy/models/wallet_ethereum_asset.rbi +1 -0
  64. data/rbi/privy/models/wallet_rpc_request_body.rbi +2 -0
  65. data/rbi/privy/models/wallet_rpc_response.rbi +2 -0
  66. data/rbi/privy/models/wallet_tron_asset.rbi +21 -0
  67. data/rbi/privy/models/wallets/aave_vault_details.rbi +165 -0
  68. data/rbi/privy/models/wallets/balance_get_params.rbi +4 -0
  69. data/rbi/privy/models/wallets/balance_get_response.rbi +10 -0
  70. data/rbi/privy/models/wallets/ethereum_earn_vault_details_response.rbi +10 -103
  71. data/rbi/privy/models/wallets/morpho_vault_details.rbi +167 -0
  72. data/rbi/privy/models/wallets/transaction_get_params.rbi +15 -69
  73. data/rbi/privy/models.rbi +27 -0
  74. data/rbi/privy/resources/intents.rbi +2 -0
  75. data/rbi/privy/resources/wallets/transactions.rbi +2 -1
  76. data/rbi/privy/resources/wallets.rbi +2 -0
  77. data/sig/privy/models/spark_coop_exit_fee_quote.rbs +75 -0
  78. data/sig/privy/models/spark_coop_exit_request.rbs +76 -0
  79. data/sig/privy/models/spark_currency_amount.rbs +16 -0
  80. data/sig/privy/models/spark_exit_speed.rbs +15 -0
  81. data/sig/privy/models/spark_get_withdrawal_fee_quote_rpc_input.rbs +44 -0
  82. data/sig/privy/models/spark_get_withdrawal_fee_quote_rpc_input_params.rbs +16 -0
  83. data/sig/privy/models/spark_get_withdrawal_fee_quote_rpc_response.rbs +37 -0
  84. data/sig/privy/models/spark_rpc_input.rbs +2 -0
  85. data/sig/privy/models/spark_rpc_response.rbs +2 -0
  86. data/sig/privy/models/spark_withdraw_rpc_input.rbs +44 -0
  87. data/sig/privy/models/spark_withdraw_rpc_input_params.rbs +53 -0
  88. data/sig/privy/models/spark_withdraw_rpc_response.rbs +37 -0
  89. data/sig/privy/models/transaction_chain_name_input.rbs +34 -0
  90. data/sig/privy/models/transfer_received_transaction_detail.rbs +4 -0
  91. data/sig/privy/models/transfer_sent_transaction_detail.rbs +4 -0
  92. data/sig/privy/models/wallet_asset.rbs +13 -1
  93. data/sig/privy/models/wallet_asset_chain_name_input.rbs +6 -0
  94. data/sig/privy/models/wallet_creation_input.rbs +7 -0
  95. data/sig/privy/models/wallet_ethereum_asset.rbs +2 -1
  96. data/sig/privy/models/wallet_rpc_request_body.rbs +2 -0
  97. data/sig/privy/models/wallet_rpc_response.rbs +2 -0
  98. data/sig/privy/models/wallet_tron_asset.rbs +15 -0
  99. data/sig/privy/models/wallets/aave_vault_details.rbs +92 -0
  100. data/sig/privy/models/wallets/balance_get_params.rbs +4 -0
  101. data/sig/privy/models/wallets/balance_get_response.rbs +4 -0
  102. data/sig/privy/models/wallets/ethereum_earn_vault_details_response.rbs +4 -57
  103. data/sig/privy/models/wallets/morpho_vault_details.rbs +92 -0
  104. data/sig/privy/models/wallets/transaction_get_params.rbs +8 -31
  105. data/sig/privy/models.rbs +24 -0
  106. data/sig/privy/resources/wallets/transactions.rbs +1 -1
  107. metadata +45 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de54c3ebe8f738cca16125f32d9a67cbc18b6b98eaf2cb14485050fa93b8187e
4
- data.tar.gz: f25fd879df273c2df1b245a4e8b28ee6d40cfe24d997cb3821af0716d7b449c1
3
+ metadata.gz: e71a526f910a6b42076902c1e0c8baaf2788413c776110de063241a36f8a28f7
4
+ data.tar.gz: 3c331ec1869155a60213f32ba140a9696f4af8072eb089e8dab21207e9dcbd52
5
5
  SHA512:
6
- metadata.gz: 5142c41d0448e1144540c5b0717786599e25e1b3a113eb1de985b564fbd3531160b0576c73f9a597ba603c8b543b6bcb4f585a8480b8fee0b3e22d7fdc73c1e6
7
- data.tar.gz: fc2e671aac88aa2387445d9754659a654a0feac388025f047b95bf7b20aefb1295e40eb50cd87eb73374716bbbc09f3c9ead9aa1d2cb5a3d336778675fd08516
6
+ metadata.gz: 24bc22c3f6c42f556bd83554a88f319fcaf94a71a47a9d7f502b2e5855a9e307c79135916ac579999d3ef1ab48a5e9b8fd2a1679ffe4d3ea9aa3f70ac8396187
7
+ data.tar.gz: d062da13f5aec30b6fd974c0bebba6945e76ff5338555b6e086f7e379d49903529a8eb83a0987e1082a38c315c8c6f6c357523d7cc21c021021482dad25e90c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0 (2026-07-07)
4
+
5
+ Full Changelog: [v0.3.0...v0.4.0](https://github.com/privy-io/ruby-sdk/compare/v0.3.0...v0.4.0)
6
+
7
+ ### Features
8
+
9
+ * add typed wallets.tron service for sign_transaction and send_transaction ([#60](https://github.com/privy-io/ruby-sdk/issues/60)) ([c56b749](https://github.com/privy-io/ruby-sdk/commit/c56b749a86ca37aaca45eeb22c81d70888b13b80))
10
+ * **api:** api update ([d459062](https://github.com/privy-io/ruby-sdk/commit/d4590623529c056f59b7c93ff63489ec8b5654b2))
11
+ * **api:** api update ([da42888](https://github.com/privy-io/ruby-sdk/commit/da42888314c78e306e359b61535b25e5f44a98a0))
12
+ * **api:** api update ([58aafa5](https://github.com/privy-io/ruby-sdk/commit/58aafa543ba23dc18f813e4a558e7c9f1f458467))
13
+
3
14
  ## 0.3.0 (2026-06-30)
4
15
 
5
16
  Full Changelog: [v0.2.0...v0.3.0](https://github.com/privy-io/ruby-sdk/compare/v0.2.0...v0.3.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "privy_ruby", "~> 0.3.0"
20
+ gem "privy_ruby", "~> 0.4.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -17,6 +17,8 @@ module Privy
17
17
  value.each_with_object({}) { |(k, v), h| h[k.to_s] = coerce_keys(v) }
18
18
  when Array
19
19
  value.map { |v| coerce_keys(v) }
20
+ when Symbol
21
+ value.to_s
20
22
  else
21
23
  value
22
24
  end
@@ -6,7 +6,7 @@ module Privy
6
6
  # @!attribute body
7
7
  # Request body for wallet RPC operations, discriminated by method.
8
8
  #
9
- # @return [Privy::Models::EthereumSignTransactionRpcInput, Privy::Models::EthereumSendTransactionRpcInput, Privy::Models::EthereumPersonalSignRpcInput, Privy::Models::EthereumSignTypedDataRpcInput, Privy::Models::EthereumSecp256k1SignRpcInput, Privy::Models::EthereumSign7702AuthorizationRpcInput, Privy::Models::EthereumSignUserOperationRpcInput, Privy::Models::EthereumSendCallsRpcInput, Privy::Models::SolanaSignTransactionRpcInput, Privy::Models::SolanaSignAndSendTransactionRpcInput, Privy::Models::SolanaSignMessageRpcInput, Privy::Models::SparkTransferRpcInput, Privy::Models::SparkGetBalanceRpcInput, Privy::Models::SparkTransferTokensRpcInput, Privy::Models::SparkGetStaticDepositAddressRpcInput, Privy::Models::SparkGetClaimStaticDepositQuoteRpcInput, Privy::Models::SparkClaimStaticDepositRpcInput, Privy::Models::SparkCreateLightningInvoiceRpcInput, Privy::Models::SparkPayLightningInvoiceRpcInput, Privy::Models::SparkSignMessageWithIdentityKeyRpcInput, Privy::Models::TronSignTransactionRpcInput, Privy::Models::TronSendTransactionRpcInput, Privy::Models::ExportPrivateKeyRpcInput, Privy::Models::ExportSeedPhraseRpcInput]
9
+ # @return [Privy::Models::EthereumSignTransactionRpcInput, Privy::Models::EthereumSendTransactionRpcInput, Privy::Models::EthereumPersonalSignRpcInput, Privy::Models::EthereumSignTypedDataRpcInput, Privy::Models::EthereumSecp256k1SignRpcInput, Privy::Models::EthereumSign7702AuthorizationRpcInput, Privy::Models::EthereumSignUserOperationRpcInput, Privy::Models::EthereumSendCallsRpcInput, Privy::Models::SolanaSignTransactionRpcInput, Privy::Models::SolanaSignAndSendTransactionRpcInput, Privy::Models::SolanaSignMessageRpcInput, Privy::Models::SparkTransferRpcInput, Privy::Models::SparkGetBalanceRpcInput, Privy::Models::SparkTransferTokensRpcInput, Privy::Models::SparkGetStaticDepositAddressRpcInput, Privy::Models::SparkGetClaimStaticDepositQuoteRpcInput, Privy::Models::SparkClaimStaticDepositRpcInput, Privy::Models::SparkCreateLightningInvoiceRpcInput, Privy::Models::SparkPayLightningInvoiceRpcInput, Privy::Models::SparkSignMessageWithIdentityKeyRpcInput, Privy::Models::SparkWithdrawRpcInput, Privy::Models::SparkGetWithdrawalFeeQuoteRpcInput, Privy::Models::TronSignTransactionRpcInput, Privy::Models::TronSendTransactionRpcInput, Privy::Models::ExportPrivateKeyRpcInput, Privy::Models::ExportSeedPhraseRpcInput]
10
10
  required :body, union: -> { Privy::WalletRpcRequestBody }
11
11
 
12
12
  # @!attribute method_
@@ -22,7 +22,7 @@ module Privy
22
22
  # @!method initialize(body:, method_:, url:)
23
23
  # Request details for an RPC intent.
24
24
  #
25
- # @param body [Privy::Models::EthereumSignTransactionRpcInput, Privy::Models::EthereumSendTransactionRpcInput, Privy::Models::EthereumPersonalSignRpcInput, Privy::Models::EthereumSignTypedDataRpcInput, Privy::Models::EthereumSecp256k1SignRpcInput, Privy::Models::EthereumSign7702AuthorizationRpcInput, Privy::Models::EthereumSignUserOperationRpcInput, Privy::Models::EthereumSendCallsRpcInput, Privy::Models::SolanaSignTransactionRpcInput, Privy::Models::SolanaSignAndSendTransactionRpcInput, Privy::Models::SolanaSignMessageRpcInput, Privy::Models::SparkTransferRpcInput, Privy::Models::SparkGetBalanceRpcInput, Privy::Models::SparkTransferTokensRpcInput, Privy::Models::SparkGetStaticDepositAddressRpcInput, Privy::Models::SparkGetClaimStaticDepositQuoteRpcInput, Privy::Models::SparkClaimStaticDepositRpcInput, Privy::Models::SparkCreateLightningInvoiceRpcInput, Privy::Models::SparkPayLightningInvoiceRpcInput, Privy::Models::SparkSignMessageWithIdentityKeyRpcInput, Privy::Models::TronSignTransactionRpcInput, Privy::Models::TronSendTransactionRpcInput, Privy::Models::ExportPrivateKeyRpcInput, Privy::Models::ExportSeedPhraseRpcInput] Request body for wallet RPC operations, discriminated by method.
25
+ # @param body [Privy::Models::EthereumSignTransactionRpcInput, Privy::Models::EthereumSendTransactionRpcInput, Privy::Models::EthereumPersonalSignRpcInput, Privy::Models::EthereumSignTypedDataRpcInput, Privy::Models::EthereumSecp256k1SignRpcInput, Privy::Models::EthereumSign7702AuthorizationRpcInput, Privy::Models::EthereumSignUserOperationRpcInput, Privy::Models::EthereumSendCallsRpcInput, Privy::Models::SolanaSignTransactionRpcInput, Privy::Models::SolanaSignAndSendTransactionRpcInput, Privy::Models::SolanaSignMessageRpcInput, Privy::Models::SparkTransferRpcInput, Privy::Models::SparkGetBalanceRpcInput, Privy::Models::SparkTransferTokensRpcInput, Privy::Models::SparkGetStaticDepositAddressRpcInput, Privy::Models::SparkGetClaimStaticDepositQuoteRpcInput, Privy::Models::SparkClaimStaticDepositRpcInput, Privy::Models::SparkCreateLightningInvoiceRpcInput, Privy::Models::SparkPayLightningInvoiceRpcInput, Privy::Models::SparkSignMessageWithIdentityKeyRpcInput, Privy::Models::SparkWithdrawRpcInput, Privy::Models::SparkGetWithdrawalFeeQuoteRpcInput, Privy::Models::TronSignTransactionRpcInput, Privy::Models::TronSendTransactionRpcInput, Privy::Models::ExportPrivateKeyRpcInput, Privy::Models::ExportSeedPhraseRpcInput] Request body for wallet RPC operations, discriminated by method.
26
26
  #
27
27
  # @param method_ [Symbol, Privy::Models::RpcIntentRequestDetails::Method]
28
28
  #
@@ -51,7 +51,7 @@ module Privy
51
51
  # @!attribute body
52
52
  # Request body for wallet RPC operations, discriminated by method.
53
53
  #
54
- # @return [Privy::Models::EthereumSignTransactionRpcInput, Privy::Models::EthereumSendTransactionRpcInput, Privy::Models::EthereumPersonalSignRpcInput, Privy::Models::EthereumSignTypedDataRpcInput, Privy::Models::EthereumSecp256k1SignRpcInput, Privy::Models::EthereumSign7702AuthorizationRpcInput, Privy::Models::EthereumSignUserOperationRpcInput, Privy::Models::EthereumSendCallsRpcInput, Privy::Models::SolanaSignTransactionRpcInput, Privy::Models::SolanaSignAndSendTransactionRpcInput, Privy::Models::SolanaSignMessageRpcInput, Privy::Models::SparkTransferRpcInput, Privy::Models::SparkGetBalanceRpcInput, Privy::Models::SparkTransferTokensRpcInput, Privy::Models::SparkGetStaticDepositAddressRpcInput, Privy::Models::SparkGetClaimStaticDepositQuoteRpcInput, Privy::Models::SparkClaimStaticDepositRpcInput, Privy::Models::SparkCreateLightningInvoiceRpcInput, Privy::Models::SparkPayLightningInvoiceRpcInput, Privy::Models::SparkSignMessageWithIdentityKeyRpcInput, Privy::Models::TronSignTransactionRpcInput, Privy::Models::TronSendTransactionRpcInput, Privy::Models::ExportPrivateKeyRpcInput, Privy::Models::ExportSeedPhraseRpcInput]
54
+ # @return [Privy::Models::EthereumSignTransactionRpcInput, Privy::Models::EthereumSendTransactionRpcInput, Privy::Models::EthereumPersonalSignRpcInput, Privy::Models::EthereumSignTypedDataRpcInput, Privy::Models::EthereumSecp256k1SignRpcInput, Privy::Models::EthereumSign7702AuthorizationRpcInput, Privy::Models::EthereumSignUserOperationRpcInput, Privy::Models::EthereumSendCallsRpcInput, Privy::Models::SolanaSignTransactionRpcInput, Privy::Models::SolanaSignAndSendTransactionRpcInput, Privy::Models::SolanaSignMessageRpcInput, Privy::Models::SparkTransferRpcInput, Privy::Models::SparkGetBalanceRpcInput, Privy::Models::SparkTransferTokensRpcInput, Privy::Models::SparkGetStaticDepositAddressRpcInput, Privy::Models::SparkGetClaimStaticDepositQuoteRpcInput, Privy::Models::SparkClaimStaticDepositRpcInput, Privy::Models::SparkCreateLightningInvoiceRpcInput, Privy::Models::SparkPayLightningInvoiceRpcInput, Privy::Models::SparkSignMessageWithIdentityKeyRpcInput, Privy::Models::SparkWithdrawRpcInput, Privy::Models::SparkGetWithdrawalFeeQuoteRpcInput, Privy::Models::TronSignTransactionRpcInput, Privy::Models::TronSendTransactionRpcInput, Privy::Models::ExportPrivateKeyRpcInput, Privy::Models::ExportSeedPhraseRpcInput]
55
55
  required :body, union: -> { Privy::WalletRpcRequestBody }
56
56
 
57
57
  # @!attribute method_
@@ -67,7 +67,7 @@ module Privy
67
67
  # @!method initialize(body:, method_:, url:)
68
68
  # The original RPC request that would be sent to the wallet endpoint
69
69
  #
70
- # @param body [Privy::Models::EthereumSignTransactionRpcInput, Privy::Models::EthereumSendTransactionRpcInput, Privy::Models::EthereumPersonalSignRpcInput, Privy::Models::EthereumSignTypedDataRpcInput, Privy::Models::EthereumSecp256k1SignRpcInput, Privy::Models::EthereumSign7702AuthorizationRpcInput, Privy::Models::EthereumSignUserOperationRpcInput, Privy::Models::EthereumSendCallsRpcInput, Privy::Models::SolanaSignTransactionRpcInput, Privy::Models::SolanaSignAndSendTransactionRpcInput, Privy::Models::SolanaSignMessageRpcInput, Privy::Models::SparkTransferRpcInput, Privy::Models::SparkGetBalanceRpcInput, Privy::Models::SparkTransferTokensRpcInput, Privy::Models::SparkGetStaticDepositAddressRpcInput, Privy::Models::SparkGetClaimStaticDepositQuoteRpcInput, Privy::Models::SparkClaimStaticDepositRpcInput, Privy::Models::SparkCreateLightningInvoiceRpcInput, Privy::Models::SparkPayLightningInvoiceRpcInput, Privy::Models::SparkSignMessageWithIdentityKeyRpcInput, Privy::Models::TronSignTransactionRpcInput, Privy::Models::TronSendTransactionRpcInput, Privy::Models::ExportPrivateKeyRpcInput, Privy::Models::ExportSeedPhraseRpcInput] Request body for wallet RPC operations, discriminated by method.
70
+ # @param body [Privy::Models::EthereumSignTransactionRpcInput, Privy::Models::EthereumSendTransactionRpcInput, Privy::Models::EthereumPersonalSignRpcInput, Privy::Models::EthereumSignTypedDataRpcInput, Privy::Models::EthereumSecp256k1SignRpcInput, Privy::Models::EthereumSign7702AuthorizationRpcInput, Privy::Models::EthereumSignUserOperationRpcInput, Privy::Models::EthereumSendCallsRpcInput, Privy::Models::SolanaSignTransactionRpcInput, Privy::Models::SolanaSignAndSendTransactionRpcInput, Privy::Models::SolanaSignMessageRpcInput, Privy::Models::SparkTransferRpcInput, Privy::Models::SparkGetBalanceRpcInput, Privy::Models::SparkTransferTokensRpcInput, Privy::Models::SparkGetStaticDepositAddressRpcInput, Privy::Models::SparkGetClaimStaticDepositQuoteRpcInput, Privy::Models::SparkClaimStaticDepositRpcInput, Privy::Models::SparkCreateLightningInvoiceRpcInput, Privy::Models::SparkPayLightningInvoiceRpcInput, Privy::Models::SparkSignMessageWithIdentityKeyRpcInput, Privy::Models::SparkWithdrawRpcInput, Privy::Models::SparkGetWithdrawalFeeQuoteRpcInput, Privy::Models::TronSignTransactionRpcInput, Privy::Models::TronSendTransactionRpcInput, Privy::Models::ExportPrivateKeyRpcInput, Privy::Models::ExportSeedPhraseRpcInput] Request body for wallet RPC operations, discriminated by method.
71
71
  #
72
72
  # @param method_ [Symbol, Privy::Models::RpcIntentResponse::RequestDetails::Method]
73
73
  #
@@ -0,0 +1,101 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Privy
4
+ module Models
5
+ class SparkCoopExitFeeQuote < Privy::Internal::Type::BaseModel
6
+ # @!attribute id
7
+ #
8
+ # @return [String]
9
+ required :id, String
10
+
11
+ # @!attribute created_at
12
+ #
13
+ # @return [String]
14
+ required :created_at, String
15
+
16
+ # @!attribute expires_at
17
+ #
18
+ # @return [String]
19
+ required :expires_at, String
20
+
21
+ # @!attribute l1_broadcast_fee_fast
22
+ # A currency amount with its original value and unit.
23
+ #
24
+ # @return [Privy::Models::SparkCurrencyAmount]
25
+ required :l1_broadcast_fee_fast, -> { Privy::SparkCurrencyAmount }
26
+
27
+ # @!attribute l1_broadcast_fee_medium
28
+ # A currency amount with its original value and unit.
29
+ #
30
+ # @return [Privy::Models::SparkCurrencyAmount]
31
+ required :l1_broadcast_fee_medium, -> { Privy::SparkCurrencyAmount }
32
+
33
+ # @!attribute l1_broadcast_fee_slow
34
+ # A currency amount with its original value and unit.
35
+ #
36
+ # @return [Privy::Models::SparkCurrencyAmount]
37
+ required :l1_broadcast_fee_slow, -> { Privy::SparkCurrencyAmount }
38
+
39
+ # @!attribute network
40
+ #
41
+ # @return [String]
42
+ required :network, String
43
+
44
+ # @!attribute total_amount
45
+ # A currency amount with its original value and unit.
46
+ #
47
+ # @return [Privy::Models::SparkCurrencyAmount]
48
+ required :total_amount, -> { Privy::SparkCurrencyAmount }
49
+
50
+ # @!attribute updated_at
51
+ #
52
+ # @return [String]
53
+ required :updated_at, String
54
+
55
+ # @!attribute user_fee_fast
56
+ # A currency amount with its original value and unit.
57
+ #
58
+ # @return [Privy::Models::SparkCurrencyAmount]
59
+ required :user_fee_fast, -> { Privy::SparkCurrencyAmount }
60
+
61
+ # @!attribute user_fee_medium
62
+ # A currency amount with its original value and unit.
63
+ #
64
+ # @return [Privy::Models::SparkCurrencyAmount]
65
+ required :user_fee_medium, -> { Privy::SparkCurrencyAmount }
66
+
67
+ # @!attribute user_fee_slow
68
+ # A currency amount with its original value and unit.
69
+ #
70
+ # @return [Privy::Models::SparkCurrencyAmount]
71
+ required :user_fee_slow, -> { Privy::SparkCurrencyAmount }
72
+
73
+ # @!method initialize(id:, created_at:, expires_at:, l1_broadcast_fee_fast:, l1_broadcast_fee_medium:, l1_broadcast_fee_slow:, network:, total_amount:, updated_at:, user_fee_fast:, user_fee_medium:, user_fee_slow:)
74
+ # A fee quote for a cooperative exit from Spark to Bitcoin L1.
75
+ #
76
+ # @param id [String]
77
+ #
78
+ # @param created_at [String]
79
+ #
80
+ # @param expires_at [String]
81
+ #
82
+ # @param l1_broadcast_fee_fast [Privy::Models::SparkCurrencyAmount] A currency amount with its original value and unit.
83
+ #
84
+ # @param l1_broadcast_fee_medium [Privy::Models::SparkCurrencyAmount] A currency amount with its original value and unit.
85
+ #
86
+ # @param l1_broadcast_fee_slow [Privy::Models::SparkCurrencyAmount] A currency amount with its original value and unit.
87
+ #
88
+ # @param network [String]
89
+ #
90
+ # @param total_amount [Privy::Models::SparkCurrencyAmount] A currency amount with its original value and unit.
91
+ #
92
+ # @param updated_at [String]
93
+ #
94
+ # @param user_fee_fast [Privy::Models::SparkCurrencyAmount] A currency amount with its original value and unit.
95
+ #
96
+ # @param user_fee_medium [Privy::Models::SparkCurrencyAmount] A currency amount with its original value and unit.
97
+ #
98
+ # @param user_fee_slow [Privy::Models::SparkCurrencyAmount] A currency amount with its original value and unit.
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,90 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Privy
4
+ module Models
5
+ class SparkCoopExitRequest < Privy::Internal::Type::BaseModel
6
+ # @!attribute id
7
+ #
8
+ # @return [String]
9
+ required :id, String
10
+
11
+ # @!attribute coop_exit_txid
12
+ #
13
+ # @return [String]
14
+ required :coop_exit_txid, String
15
+
16
+ # @!attribute created_at
17
+ #
18
+ # @return [String]
19
+ required :created_at, String
20
+
21
+ # @!attribute expires_at
22
+ #
23
+ # @return [String]
24
+ required :expires_at, String
25
+
26
+ # @!attribute fee
27
+ # A currency amount with its original value and unit.
28
+ #
29
+ # @return [Privy::Models::SparkCurrencyAmount]
30
+ required :fee, -> { Privy::SparkCurrencyAmount }
31
+
32
+ # @!attribute l1_broadcast_fee
33
+ # A currency amount with its original value and unit.
34
+ #
35
+ # @return [Privy::Models::SparkCurrencyAmount]
36
+ required :l1_broadcast_fee, -> { Privy::SparkCurrencyAmount }
37
+
38
+ # @!attribute network
39
+ #
40
+ # @return [String]
41
+ required :network, String
42
+
43
+ # @!attribute status
44
+ #
45
+ # @return [String]
46
+ required :status, String
47
+
48
+ # @!attribute updated_at
49
+ #
50
+ # @return [String]
51
+ required :updated_at, String
52
+
53
+ # @!attribute exit_speed
54
+ # The exit speed for a cooperative withdrawal from Spark to L1.
55
+ #
56
+ # @return [Symbol, Privy::Models::SparkExitSpeed, nil]
57
+ optional :exit_speed, enum: -> { Privy::SparkExitSpeed }
58
+
59
+ # @!attribute fee_quote_id
60
+ #
61
+ # @return [String, nil]
62
+ optional :fee_quote_id, String
63
+
64
+ # @!method initialize(id:, coop_exit_txid:, created_at:, expires_at:, fee:, l1_broadcast_fee:, network:, status:, updated_at:, exit_speed: nil, fee_quote_id: nil)
65
+ # A cooperative exit request from Spark to Bitcoin L1.
66
+ #
67
+ # @param id [String]
68
+ #
69
+ # @param coop_exit_txid [String]
70
+ #
71
+ # @param created_at [String]
72
+ #
73
+ # @param expires_at [String]
74
+ #
75
+ # @param fee [Privy::Models::SparkCurrencyAmount] A currency amount with its original value and unit.
76
+ #
77
+ # @param l1_broadcast_fee [Privy::Models::SparkCurrencyAmount] A currency amount with its original value and unit.
78
+ #
79
+ # @param network [String]
80
+ #
81
+ # @param status [String]
82
+ #
83
+ # @param updated_at [String]
84
+ #
85
+ # @param exit_speed [Symbol, Privy::Models::SparkExitSpeed] The exit speed for a cooperative withdrawal from Spark to L1.
86
+ #
87
+ # @param fee_quote_id [String]
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Privy
4
+ module Models
5
+ class SparkCurrencyAmount < Privy::Internal::Type::BaseModel
6
+ # @!attribute original_unit
7
+ #
8
+ # @return [String]
9
+ required :original_unit, String
10
+
11
+ # @!attribute original_value
12
+ #
13
+ # @return [Float]
14
+ required :original_value, Float
15
+
16
+ # @!method initialize(original_unit:, original_value:)
17
+ # A currency amount with its original value and unit.
18
+ #
19
+ # @param original_unit [String]
20
+ # @param original_value [Float]
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Privy
4
+ module Models
5
+ # The exit speed for a cooperative withdrawal from Spark to L1.
6
+ module SparkExitSpeed
7
+ extend Privy::Internal::Type::Enum
8
+
9
+ FAST = :FAST
10
+ MEDIUM = :MEDIUM
11
+ SLOW = :SLOW
12
+
13
+ # @!method self.values
14
+ # @return [Array<Symbol>]
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Privy
4
+ module Models
5
+ class SparkGetWithdrawalFeeQuoteRpcInput < Privy::Internal::Type::BaseModel
6
+ # @!attribute method_
7
+ #
8
+ # @return [Symbol, Privy::Models::SparkGetWithdrawalFeeQuoteRpcInput::Method]
9
+ required :method_, enum: -> { Privy::SparkGetWithdrawalFeeQuoteRpcInput::Method }, api_name: :method
10
+
11
+ # @!attribute params
12
+ # Parameters for the Spark `getWithdrawalFeeQuote` RPC.
13
+ #
14
+ # @return [Privy::Models::SparkGetWithdrawalFeeQuoteRpcInputParams]
15
+ required :params, -> { Privy::SparkGetWithdrawalFeeQuoteRpcInputParams }
16
+
17
+ # @!attribute network
18
+ # The Spark network.
19
+ #
20
+ # @return [Symbol, Privy::Models::SparkNetwork, nil]
21
+ optional :network, enum: -> { Privy::SparkNetwork }
22
+
23
+ # @!method initialize(method_:, params:, network: nil)
24
+ # Gets a fee quote for withdrawing from Spark to a Bitcoin L1 address.
25
+ #
26
+ # @param method_ [Symbol, Privy::Models::SparkGetWithdrawalFeeQuoteRpcInput::Method]
27
+ #
28
+ # @param params [Privy::Models::SparkGetWithdrawalFeeQuoteRpcInputParams] Parameters for the Spark `getWithdrawalFeeQuote` RPC.
29
+ #
30
+ # @param network [Symbol, Privy::Models::SparkNetwork] The Spark network.
31
+
32
+ # @see Privy::Models::SparkGetWithdrawalFeeQuoteRpcInput#method_
33
+ module Method
34
+ extend Privy::Internal::Type::Enum
35
+
36
+ GET_WITHDRAWAL_FEE_QUOTE = :getWithdrawalFeeQuote
37
+
38
+ # @!method self.values
39
+ # @return [Array<Symbol>]
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Privy
4
+ module Models
5
+ class SparkGetWithdrawalFeeQuoteRpcInputParams < Privy::Internal::Type::BaseModel
6
+ # @!attribute amount_sats
7
+ #
8
+ # @return [Float]
9
+ required :amount_sats, Float
10
+
11
+ # @!attribute onchain_address
12
+ #
13
+ # @return [String]
14
+ required :onchain_address, String
15
+
16
+ # @!method initialize(amount_sats:, onchain_address:)
17
+ # Parameters for the Spark `getWithdrawalFeeQuote` RPC.
18
+ #
19
+ # @param amount_sats [Float]
20
+ # @param onchain_address [String]
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Privy
4
+ module Models
5
+ class SparkGetWithdrawalFeeQuoteRpcResponse < Privy::Internal::Type::BaseModel
6
+ # @!attribute method_
7
+ #
8
+ # @return [Symbol, Privy::Models::SparkGetWithdrawalFeeQuoteRpcResponse::Method]
9
+ required :method_, enum: -> { Privy::SparkGetWithdrawalFeeQuoteRpcResponse::Method }, api_name: :method
10
+
11
+ # @!attribute data
12
+ # A fee quote for a cooperative exit from Spark to Bitcoin L1.
13
+ #
14
+ # @return [Privy::Models::SparkCoopExitFeeQuote, nil]
15
+ optional :data, -> { Privy::SparkCoopExitFeeQuote }
16
+
17
+ # @!method initialize(method_:, data: nil)
18
+ # Response to the Spark `getWithdrawalFeeQuote` RPC.
19
+ #
20
+ # @param method_ [Symbol, Privy::Models::SparkGetWithdrawalFeeQuoteRpcResponse::Method]
21
+ #
22
+ # @param data [Privy::Models::SparkCoopExitFeeQuote] A fee quote for a cooperative exit from Spark to Bitcoin L1.
23
+
24
+ # @see Privy::Models::SparkGetWithdrawalFeeQuoteRpcResponse#method_
25
+ module Method
26
+ extend Privy::Internal::Type::Enum
27
+
28
+ GET_WITHDRAWAL_FEE_QUOTE = :getWithdrawalFeeQuote
29
+
30
+ # @!method self.values
31
+ # @return [Array<Symbol>]
32
+ end
33
+ end
34
+ end
35
+ end
@@ -35,8 +35,14 @@ module Privy
35
35
  # Signs a message with the Spark identity key.
36
36
  variant :signMessageWithIdentityKey, -> { Privy::SparkSignMessageWithIdentityKeyRpcInput }
37
37
 
38
+ # Withdraws from Spark to a Bitcoin L1 address (cooperative exit).
39
+ variant :withdraw, -> { Privy::SparkWithdrawRpcInput }
40
+
41
+ # Gets a fee quote for withdrawing from Spark to a Bitcoin L1 address.
42
+ variant :getWithdrawalFeeQuote, -> { Privy::SparkGetWithdrawalFeeQuoteRpcInput }
43
+
38
44
  # @!method self.variants
39
- # @return [Array(Privy::Models::SparkTransferRpcInput, Privy::Models::SparkGetBalanceRpcInput, Privy::Models::SparkTransferTokensRpcInput, Privy::Models::SparkGetStaticDepositAddressRpcInput, Privy::Models::SparkGetClaimStaticDepositQuoteRpcInput, Privy::Models::SparkClaimStaticDepositRpcInput, Privy::Models::SparkCreateLightningInvoiceRpcInput, Privy::Models::SparkPayLightningInvoiceRpcInput, Privy::Models::SparkSignMessageWithIdentityKeyRpcInput)]
45
+ # @return [Array(Privy::Models::SparkTransferRpcInput, Privy::Models::SparkGetBalanceRpcInput, Privy::Models::SparkTransferTokensRpcInput, Privy::Models::SparkGetStaticDepositAddressRpcInput, Privy::Models::SparkGetClaimStaticDepositQuoteRpcInput, Privy::Models::SparkClaimStaticDepositRpcInput, Privy::Models::SparkCreateLightningInvoiceRpcInput, Privy::Models::SparkPayLightningInvoiceRpcInput, Privy::Models::SparkSignMessageWithIdentityKeyRpcInput, Privy::Models::SparkWithdrawRpcInput, Privy::Models::SparkGetWithdrawalFeeQuoteRpcInput)]
40
46
  end
41
47
  end
42
48
  end
@@ -35,8 +35,14 @@ module Privy
35
35
  # Response to the Spark `signMessageWithIdentityKey` RPC.
36
36
  variant :signMessageWithIdentityKey, -> { Privy::SparkSignMessageWithIdentityKeyRpcResponse }
37
37
 
38
+ # Response to the Spark `withdraw` RPC.
39
+ variant :withdraw, -> { Privy::SparkWithdrawRpcResponse }
40
+
41
+ # Response to the Spark `getWithdrawalFeeQuote` RPC.
42
+ variant :getWithdrawalFeeQuote, -> { Privy::SparkGetWithdrawalFeeQuoteRpcResponse }
43
+
38
44
  # @!method self.variants
39
- # @return [Array(Privy::Models::SparkTransferRpcResponse, Privy::Models::SparkGetBalanceRpcResponse, Privy::Models::SparkTransferTokensRpcResponse, Privy::Models::SparkGetStaticDepositAddressRpcResponse, Privy::Models::SparkGetClaimStaticDepositQuoteRpcResponse, Privy::Models::SparkClaimStaticDepositRpcResponse, Privy::Models::SparkCreateLightningInvoiceRpcResponse, Privy::Models::SparkPayLightningInvoiceRpcResponse, Privy::Models::SparkSignMessageWithIdentityKeyRpcResponse)]
45
+ # @return [Array(Privy::Models::SparkTransferRpcResponse, Privy::Models::SparkGetBalanceRpcResponse, Privy::Models::SparkTransferTokensRpcResponse, Privy::Models::SparkGetStaticDepositAddressRpcResponse, Privy::Models::SparkGetClaimStaticDepositQuoteRpcResponse, Privy::Models::SparkClaimStaticDepositRpcResponse, Privy::Models::SparkCreateLightningInvoiceRpcResponse, Privy::Models::SparkPayLightningInvoiceRpcResponse, Privy::Models::SparkSignMessageWithIdentityKeyRpcResponse, Privy::Models::SparkWithdrawRpcResponse, Privy::Models::SparkGetWithdrawalFeeQuoteRpcResponse)]
40
46
  end
41
47
  end
42
48
  end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Privy
4
+ module Models
5
+ class SparkWithdrawRpcInput < Privy::Internal::Type::BaseModel
6
+ # @!attribute method_
7
+ #
8
+ # @return [Symbol, Privy::Models::SparkWithdrawRpcInput::Method]
9
+ required :method_, enum: -> { Privy::SparkWithdrawRpcInput::Method }, api_name: :method
10
+
11
+ # @!attribute params
12
+ # Parameters for the Spark `withdraw` RPC.
13
+ #
14
+ # @return [Privy::Models::SparkWithdrawRpcInputParams]
15
+ required :params, -> { Privy::SparkWithdrawRpcInputParams }
16
+
17
+ # @!attribute network
18
+ # The Spark network.
19
+ #
20
+ # @return [Symbol, Privy::Models::SparkNetwork, nil]
21
+ optional :network, enum: -> { Privy::SparkNetwork }
22
+
23
+ # @!method initialize(method_:, params:, network: nil)
24
+ # Withdraws from Spark to a Bitcoin L1 address (cooperative exit).
25
+ #
26
+ # @param method_ [Symbol, Privy::Models::SparkWithdrawRpcInput::Method]
27
+ #
28
+ # @param params [Privy::Models::SparkWithdrawRpcInputParams] Parameters for the Spark `withdraw` RPC.
29
+ #
30
+ # @param network [Symbol, Privy::Models::SparkNetwork] The Spark network.
31
+
32
+ # @see Privy::Models::SparkWithdrawRpcInput#method_
33
+ module Method
34
+ extend Privy::Internal::Type::Enum
35
+
36
+ WITHDRAW = :withdraw
37
+
38
+ # @!method self.values
39
+ # @return [Array<Symbol>]
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Privy
4
+ module Models
5
+ class SparkWithdrawRpcInputParams < Privy::Internal::Type::BaseModel
6
+ # @!attribute exit_speed
7
+ # The exit speed for a cooperative withdrawal from Spark to L1.
8
+ #
9
+ # @return [Symbol, Privy::Models::SparkExitSpeed]
10
+ required :exit_speed, enum: -> { Privy::SparkExitSpeed }
11
+
12
+ # @!attribute onchain_address
13
+ #
14
+ # @return [String]
15
+ required :onchain_address, String
16
+
17
+ # @!attribute amount_sats
18
+ #
19
+ # @return [Float, nil]
20
+ optional :amount_sats, Float
21
+
22
+ # @!attribute deduct_fee_from_withdrawal_amount
23
+ #
24
+ # @return [Boolean, nil]
25
+ optional :deduct_fee_from_withdrawal_amount, Privy::Internal::Type::Boolean
26
+
27
+ # @!attribute fee_amount_sats
28
+ #
29
+ # @return [Float, nil]
30
+ optional :fee_amount_sats, Float
31
+
32
+ # @!attribute fee_quote_id
33
+ #
34
+ # @return [String, nil]
35
+ optional :fee_quote_id, String
36
+
37
+ # @!method initialize(exit_speed:, onchain_address:, amount_sats: nil, deduct_fee_from_withdrawal_amount: nil, fee_amount_sats: nil, fee_quote_id: nil)
38
+ # Parameters for the Spark `withdraw` RPC.
39
+ #
40
+ # @param exit_speed [Symbol, Privy::Models::SparkExitSpeed] The exit speed for a cooperative withdrawal from Spark to L1.
41
+ #
42
+ # @param onchain_address [String]
43
+ #
44
+ # @param amount_sats [Float]
45
+ #
46
+ # @param deduct_fee_from_withdrawal_amount [Boolean]
47
+ #
48
+ # @param fee_amount_sats [Float]
49
+ #
50
+ # @param fee_quote_id [String]
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Privy
4
+ module Models
5
+ class SparkWithdrawRpcResponse < Privy::Internal::Type::BaseModel
6
+ # @!attribute method_
7
+ #
8
+ # @return [Symbol, Privy::Models::SparkWithdrawRpcResponse::Method]
9
+ required :method_, enum: -> { Privy::SparkWithdrawRpcResponse::Method }, api_name: :method
10
+
11
+ # @!attribute data
12
+ # A cooperative exit request from Spark to Bitcoin L1.
13
+ #
14
+ # @return [Privy::Models::SparkCoopExitRequest, nil]
15
+ optional :data, -> { Privy::SparkCoopExitRequest }
16
+
17
+ # @!method initialize(method_:, data: nil)
18
+ # Response to the Spark `withdraw` RPC.
19
+ #
20
+ # @param method_ [Symbol, Privy::Models::SparkWithdrawRpcResponse::Method]
21
+ #
22
+ # @param data [Privy::Models::SparkCoopExitRequest] A cooperative exit request from Spark to Bitcoin L1.
23
+
24
+ # @see Privy::Models::SparkWithdrawRpcResponse#method_
25
+ module Method
26
+ extend Privy::Internal::Type::Enum
27
+
28
+ WITHDRAW = :withdraw
29
+
30
+ # @!method self.values
31
+ # @return [Array<Symbol>]
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Privy
4
+ module Models
5
+ # Chains supported for transaction history queries.
6
+ module TransactionChainNameInput
7
+ extend Privy::Internal::Type::Enum
8
+
9
+ ETHEREUM = :ethereum
10
+ ARBITRUM = :arbitrum
11
+ AVALANCHE = :avalanche
12
+ BASE = :base
13
+ BSC = :bsc
14
+ TEMPO = :tempo
15
+ LINEA = :linea
16
+ OPTIMISM = :optimism
17
+ POLYGON = :polygon
18
+ SOLANA = :solana
19
+ SEPOLIA = :sepolia
20
+
21
+ # @!method self.values
22
+ # @return [Array<Symbol>]
23
+ end
24
+ end
25
+ end
@@ -91,6 +91,8 @@ module Privy
91
91
 
92
92
  variant const: -> { Privy::Models::TransferReceivedTransactionDetail::Asset::POL }
93
93
 
94
+ variant const: -> { Privy::Models::TransferReceivedTransactionDetail::Asset::BNB }
95
+
94
96
  variant const: -> { Privy::Models::TransferReceivedTransactionDetail::Asset::USDT }
95
97
 
96
98
  variant const: -> { Privy::Models::TransferReceivedTransactionDetail::Asset::EURC }
@@ -99,6 +101,8 @@ module Privy
99
101
 
100
102
  variant const: -> { Privy::Models::TransferReceivedTransactionDetail::Asset::SOL }
101
103
 
104
+ variant const: -> { Privy::Models::TransferReceivedTransactionDetail::Asset::TRX }
105
+
102
106
  variant String
103
107
 
104
108
  # @!method self.variants
@@ -115,10 +119,12 @@ module Privy
115
119
  ETH = :eth
116
120
  AVAX = :avax
117
121
  POL = :pol
122
+ BNB = :bnb
118
123
  USDT = :usdt
119
124
  EURC = :eurc
120
125
  USDB = :usdb
121
126
  SOL = :sol
127
+ TRX = :trx
122
128
 
123
129
  # @!endgroup
124
130
  end