privy_ruby 0.5.0 → 0.6.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +1 -1
- data/lib/privy/models/balance_asset_by_chain.rb +2 -2
- data/lib/privy/models/currency.rb +5 -2
- data/lib/privy/models/custom_token_transfer_source.rb +1 -1
- data/lib/privy/models/ethereum_personal_sign_rpc_input.rb +2 -2
- data/lib/privy/models/ethereum_send_calls_rpc_input.rb +2 -2
- data/lib/privy/models/ethereum_send_calls_rpc_response_data.rb +5 -2
- data/lib/privy/models/ethereum_send_transaction_rpc_input.rb +2 -2
- data/lib/privy/models/ethereum_send_transaction_rpc_response_data.rb +2 -2
- data/lib/privy/models/ethereum_sign_typed_data_rpc_input.rb +2 -2
- data/lib/privy/models/ethereum_vault_details_response.rb +2 -2
- data/lib/privy/models/ethereum_yield_claim_input.rb +6 -2
- data/lib/privy/models/ethereum_yield_claim_response.rb +6 -2
- data/lib/privy/models/fiat_onramp_destination.rb +3 -3
- data/lib/privy/models/named_token_transfer_source.rb +4 -4
- data/lib/privy/models/solana_sign_and_send_transaction_rpc_input.rb +5 -2
- data/lib/privy/models/solana_sign_and_send_transaction_rpc_response_data.rb +5 -2
- data/lib/privy/models/swap_source.rb +6 -2
- data/lib/privy/models/token_transfer_destination.rb +1 -1
- data/lib/privy/models/transaction_broadcasted_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_chain_name_input.rb +1 -0
- data/lib/privy/models/transaction_confirmed_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_execution_reverted_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_failed_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_provider_error_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_replaced_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_still_pending_webhook_payload.rb +3 -2
- data/lib/privy/models/transfer_received_transaction_detail.rb +3 -0
- data/lib/privy/models/transfer_sent_transaction_detail.rb +3 -0
- data/lib/privy/models/tron_send_transaction_rpc_input.rb +5 -2
- data/lib/privy/models/tron_send_transaction_rpc_response_data.rb +5 -2
- data/lib/privy/models/user_operation_input.rb +17 -1
- data/lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_earn_incentive_claim_rejected_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_earn_incentive_claim_succeeded_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_transfer_created_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_transfer_failed_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_transfer_rejected_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_transfer_succeeded_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_asset.rb +1 -0
- data/lib/privy/models/wallet_ethereum_asset.rb +1 -0
- data/lib/privy/models/wallets/aave_vault_details.rb +2 -2
- data/lib/privy/models/wallets/balance_get_params.rb +9 -6
- data/lib/privy/models/wallets/balance_get_response.rb +3 -0
- data/lib/privy/models/wallets/earn_incentive_claim_action_response.rb +2 -2
- data/lib/privy/models/wallets/earn_incentive_claim_request_body.rb +2 -2
- data/lib/privy/models/wallets/earn_incentive_rewards_query.rb +2 -2
- data/lib/privy/models/wallets/morpho_vault_details.rb +2 -2
- data/lib/privy/models/wallets/transaction_get_params.rb +3 -0
- data/lib/privy/models/wallets/transfer_action_response.rb +2 -2
- data/lib/privy/models/wallets/veda_vault_details.rb +2 -2
- data/lib/privy/resources/wallets/balance.rb +2 -2
- data/lib/privy/version.rb +1 -1
- data/rbi/privy/models/balance_asset_by_chain.rbi +2 -2
- data/rbi/privy/models/currency.rbi +2 -2
- data/rbi/privy/models/custom_token_transfer_source.rbi +2 -2
- data/rbi/privy/models/ethereum_personal_sign_rpc_input.rbi +2 -2
- data/rbi/privy/models/ethereum_send_calls_rpc_input.rbi +2 -2
- data/rbi/privy/models/ethereum_send_calls_rpc_response_data.rbi +2 -2
- data/rbi/privy/models/ethereum_send_transaction_rpc_input.rbi +2 -2
- data/rbi/privy/models/ethereum_send_transaction_rpc_response_data.rbi +2 -2
- data/rbi/privy/models/ethereum_sign_typed_data_rpc_input.rbi +2 -2
- data/rbi/privy/models/ethereum_vault_details_response.rbi +2 -2
- data/rbi/privy/models/ethereum_yield_claim_input.rbi +4 -2
- data/rbi/privy/models/ethereum_yield_claim_response.rbi +4 -2
- data/rbi/privy/models/fiat_onramp_destination.rbi +4 -4
- data/rbi/privy/models/named_token_transfer_source.rbi +6 -6
- data/rbi/privy/models/solana_sign_and_send_transaction_rpc_input.rbi +2 -2
- data/rbi/privy/models/solana_sign_and_send_transaction_rpc_response_data.rbi +2 -2
- data/rbi/privy/models/swap_source.rbi +4 -2
- data/rbi/privy/models/token_transfer_destination.rbi +2 -2
- data/rbi/privy/models/transaction_broadcasted_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_chain_name_input.rbi +2 -0
- data/rbi/privy/models/transaction_confirmed_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_execution_reverted_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_failed_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_provider_error_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_replaced_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_still_pending_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transfer_received_transaction_detail.rbi +5 -0
- data/rbi/privy/models/transfer_sent_transaction_detail.rbi +5 -0
- data/rbi/privy/models/tron_send_transaction_rpc_input.rbi +2 -2
- data/rbi/privy/models/tron_send_transaction_rpc_response_data.rbi +2 -2
- data/rbi/privy/models/user_operation_input.rbi +22 -0
- data/rbi/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_earn_incentive_claim_rejected_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_earn_incentive_claim_succeeded_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_transfer_created_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_transfer_failed_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_transfer_rejected_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_transfer_succeeded_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_asset.rbi +1 -0
- data/rbi/privy/models/wallet_ethereum_asset.rbi +1 -0
- data/rbi/privy/models/wallets/aave_vault_details.rbi +2 -2
- data/rbi/privy/models/wallets/balance_get_params.rbi +11 -6
- data/rbi/privy/models/wallets/balance_get_response.rbi +5 -0
- data/rbi/privy/models/wallets/earn_incentive_claim_action_response.rbi +2 -2
- data/rbi/privy/models/wallets/earn_incentive_claim_request_body.rbi +4 -4
- data/rbi/privy/models/wallets/earn_incentive_rewards_query.rbi +2 -2
- data/rbi/privy/models/wallets/morpho_vault_details.rbi +2 -2
- data/rbi/privy/models/wallets/transaction_get_params.rbi +5 -0
- data/rbi/privy/models/wallets/transfer_action_response.rbi +2 -2
- data/rbi/privy/models/wallets/veda_vault_details.rbi +2 -2
- data/rbi/privy/resources/wallets/balance.rbi +2 -2
- data/rbi/privy/resources/wallets/earn/ethereum/incentive.rbi +2 -2
- data/sig/privy/models/transaction_chain_name_input.rbs +2 -0
- data/sig/privy/models/transfer_received_transaction_detail.rbs +2 -0
- data/sig/privy/models/transfer_sent_transaction_detail.rbs +2 -0
- data/sig/privy/models/user_operation_input.rbs +14 -0
- data/sig/privy/models/wallet_asset.rbs +2 -0
- data/sig/privy/models/wallet_ethereum_asset.rbs +11 -1
- data/sig/privy/models/wallets/balance_get_params.rbs +2 -0
- data/sig/privy/models/wallets/balance_get_response.rbs +2 -0
- data/sig/privy/models/wallets/transaction_get_params.rbs +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9da072396f82f2edf8421e4ea8b4d1b172acd88fa9350df5d148161175334a47
|
|
4
|
+
data.tar.gz: e071fe00d6a391c6bf77f87c587232d9c4653dca453f3b36e92662f9a87758ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a637be8c1993aeab345122494a8486af4aaaf54863adace4acd2fcd2678bf7e57ea01ff2fe7c84b410c21c5f6293aa9b69a2cbe73d09065601af75c9d1ed021b
|
|
7
|
+
data.tar.gz: 3cf88d166d403a8304c39c7f18dda070a9375862fa2d53d8cc2af554e6ea78801d16eb1b504fae574e1013fab0c4c86d44cf06ed23f7a0778f8b21b4c3350878
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.0 (2026-07-22)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.5.0...v0.6.0](https://github.com/privy-io/ruby-sdk/compare/v0.5.0...v0.6.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([44a9457](https://github.com/privy-io/ruby-sdk/commit/44a94575bfba4240a63f13f1ed190d90cd8acada))
|
|
10
|
+
* **api:** api update ([24431b8](https://github.com/privy-io/ruby-sdk/commit/24431b8cf491a36dabdf0bbe51c33ba1b2599913))
|
|
11
|
+
* **api:** api update ([3b76c00](https://github.com/privy-io/ruby-sdk/commit/3b76c00f2ebc28e1636a90b7e182698c49f2c293))
|
|
12
|
+
* **api:** api update ([d2d1208](https://github.com/privy-io/ruby-sdk/commit/d2d12088c0336ec81d3505e254a62a695738c556))
|
|
13
|
+
* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([4620ce8](https://github.com/privy-io/ruby-sdk/commit/4620ce8b862b39b7449446b5bf7eadea38d2e107))
|
|
14
|
+
|
|
3
15
|
## 0.5.0 (2026-07-10)
|
|
4
16
|
|
|
5
17
|
Full Changelog: [v0.4.0...v0.5.0](https://github.com/privy-io/ruby-sdk/compare/v0.4.0...v0.5.0)
|
data/README.md
CHANGED
|
@@ -11,7 +11,7 @@ module Privy
|
|
|
11
11
|
required :amount, String
|
|
12
12
|
|
|
13
13
|
# @!attribute chain_id
|
|
14
|
-
# The CAIP-2 chain identifier (e.g. eip155:8453).
|
|
14
|
+
# The CAIP-2 chain identifier (e.g. eip155:4217 for Tempo, eip155:8453 for Base).
|
|
15
15
|
#
|
|
16
16
|
# @return [String]
|
|
17
17
|
required :chain_id, String
|
|
@@ -36,7 +36,7 @@ module Privy
|
|
|
36
36
|
#
|
|
37
37
|
# @param amount [String] The amount of the asset held on this chain, denominated in the unit of the asset
|
|
38
38
|
#
|
|
39
|
-
# @param chain_id [String] The CAIP-2 chain identifier (e.g. eip155:8453).
|
|
39
|
+
# @param chain_id [String] The CAIP-2 chain identifier (e.g. eip155:4217 for Tempo, eip155:8453 for Base).
|
|
40
40
|
#
|
|
41
41
|
# @param price [Privy::Models::CurrencyAmount] A monetary value with its currency denomination.
|
|
42
42
|
#
|
|
@@ -4,7 +4,7 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class Currency < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute chain
|
|
7
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
7
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
8
8
|
#
|
|
9
9
|
# @return [String]
|
|
10
10
|
required :chain, String
|
|
@@ -16,9 +16,12 @@ module Privy
|
|
|
16
16
|
optional :asset, enum: -> { Privy::CurrencyAsset }
|
|
17
17
|
|
|
18
18
|
# @!method initialize(chain:, asset: nil)
|
|
19
|
+
# Some parameter documentations has been truncated, see {Privy::Models::Currency}
|
|
20
|
+
# for more details.
|
|
21
|
+
#
|
|
19
22
|
# A crypto currency identified by a CAIP-2 chain ID and optional asset.
|
|
20
23
|
#
|
|
21
|
-
# @param chain [String] A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
24
|
+
# @param chain [String] A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
22
25
|
#
|
|
23
26
|
# @param asset [Symbol, Privy::Models::CurrencyAsset] A currency asset type.
|
|
24
27
|
end
|
|
@@ -12,7 +12,7 @@ module Privy
|
|
|
12
12
|
|
|
13
13
|
# @!attribute chain
|
|
14
14
|
# The blockchain network on which to perform the transfer. Supported chains
|
|
15
|
-
# include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
15
|
+
# include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
16
16
|
# respective testnets.
|
|
17
17
|
#
|
|
18
18
|
# @return [String]
|
|
@@ -20,7 +20,7 @@ module Privy
|
|
|
20
20
|
optional :address, String
|
|
21
21
|
|
|
22
22
|
# @!attribute caip2
|
|
23
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
23
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
24
24
|
#
|
|
25
25
|
# @return [String, nil]
|
|
26
26
|
optional :caip2, String
|
|
@@ -54,7 +54,7 @@ module Privy
|
|
|
54
54
|
#
|
|
55
55
|
# @param address [String]
|
|
56
56
|
#
|
|
57
|
-
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
57
|
+
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
58
58
|
#
|
|
59
59
|
# @param chain_type [Symbol, Privy::Models::EthereumPersonalSignRpcInput::ChainType]
|
|
60
60
|
#
|
|
@@ -4,7 +4,7 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class EthereumSendCallsRpcInput < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
7
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
8
8
|
#
|
|
9
9
|
# @return [String]
|
|
10
10
|
required :caip2, String
|
|
@@ -54,7 +54,7 @@ module Privy
|
|
|
54
54
|
# Executes the `wallet_sendCalls` RPC (EIP-5792) to batch multiple calls into a
|
|
55
55
|
# single atomic transaction.
|
|
56
56
|
#
|
|
57
|
-
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
57
|
+
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
58
58
|
#
|
|
59
59
|
# @param method_ [Symbol, Privy::Models::EthereumSendCallsRpcInput::Method]
|
|
60
60
|
#
|
|
@@ -4,7 +4,7 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class EthereumSendCallsRpcResponseData < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
7
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
8
8
|
#
|
|
9
9
|
# @return [String]
|
|
10
10
|
required :caip2, String
|
|
@@ -15,9 +15,12 @@ module Privy
|
|
|
15
15
|
required :transaction_id, String
|
|
16
16
|
|
|
17
17
|
# @!method initialize(caip2:, transaction_id:)
|
|
18
|
+
# Some parameter documentations has been truncated, see
|
|
19
|
+
# {Privy::Models::EthereumSendCallsRpcResponseData} for more details.
|
|
20
|
+
#
|
|
18
21
|
# Data returned by the `wallet_sendCalls` RPC.
|
|
19
22
|
#
|
|
20
|
-
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
23
|
+
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
21
24
|
#
|
|
22
25
|
# @param transaction_id [String]
|
|
23
26
|
end
|
|
@@ -4,7 +4,7 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class EthereumSendTransactionRpcInput < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
7
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
8
8
|
#
|
|
9
9
|
# @return [String]
|
|
10
10
|
required :caip2, String
|
|
@@ -58,7 +58,7 @@ module Privy
|
|
|
58
58
|
#
|
|
59
59
|
# Executes the EVM `eth_sendTransaction` RPC to sign and broadcast a transaction.
|
|
60
60
|
#
|
|
61
|
-
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
61
|
+
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
62
62
|
#
|
|
63
63
|
# @param method_ [Symbol, Privy::Models::EthereumSendTransactionRpcInput::Method]
|
|
64
64
|
#
|
|
@@ -4,7 +4,7 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class EthereumSendTransactionRpcResponseData < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
7
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
8
8
|
#
|
|
9
9
|
# @return [String]
|
|
10
10
|
required :caip2, String
|
|
@@ -42,7 +42,7 @@ module Privy
|
|
|
42
42
|
#
|
|
43
43
|
# Data returned by the EVM `eth_sendTransaction` RPC.
|
|
44
44
|
#
|
|
45
|
-
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
45
|
+
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
46
46
|
#
|
|
47
47
|
# @param hash_ [String]
|
|
48
48
|
#
|
|
@@ -20,7 +20,7 @@ module Privy
|
|
|
20
20
|
optional :address, String
|
|
21
21
|
|
|
22
22
|
# @!attribute caip2
|
|
23
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
23
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
24
24
|
#
|
|
25
25
|
# @return [String, nil]
|
|
26
26
|
optional :caip2, String
|
|
@@ -55,7 +55,7 @@ module Privy
|
|
|
55
55
|
#
|
|
56
56
|
# @param address [String]
|
|
57
57
|
#
|
|
58
|
-
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
58
|
+
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
59
59
|
#
|
|
60
60
|
# @param chain_type [Symbol, Privy::Models::EthereumSignTypedDataRpcInput::ChainType]
|
|
61
61
|
#
|
|
@@ -29,7 +29,7 @@ module Privy
|
|
|
29
29
|
required :available_liquidity_usd, Float, nil?: true
|
|
30
30
|
|
|
31
31
|
# @!attribute caip2
|
|
32
|
-
# Chain identifier (e.g., eip155:8453).
|
|
32
|
+
# Chain identifier (e.g., eip155:4217 for Tempo, eip155:8453 for Base).
|
|
33
33
|
#
|
|
34
34
|
# @return [String]
|
|
35
35
|
required :caip2, String
|
|
@@ -79,7 +79,7 @@ module Privy
|
|
|
79
79
|
#
|
|
80
80
|
# @param available_liquidity_usd [Float, nil] Assets available for instant withdrawal in USD.
|
|
81
81
|
#
|
|
82
|
-
# @param caip2 [String] Chain identifier (e.g., eip155:8453).
|
|
82
|
+
# @param caip2 [String] Chain identifier (e.g., eip155:4217 for Tempo, eip155:8453 for Base).
|
|
83
83
|
#
|
|
84
84
|
# @param name [String] Human-readable vault name from the yield provider.
|
|
85
85
|
#
|
|
@@ -4,15 +4,19 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class EthereumYieldClaimInput < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# An EVM CAIP-2 chain identifier (e.g., "eip155:8453" for
|
|
7
|
+
# An EVM CAIP-2 chain identifier (e.g., "eip155:4217" for Tempo, "eip155:8453" for
|
|
8
|
+
# Base).
|
|
8
9
|
#
|
|
9
10
|
# @return [String]
|
|
10
11
|
required :caip2, String
|
|
11
12
|
|
|
12
13
|
# @!method initialize(caip2:)
|
|
14
|
+
# Some parameter documentations has been truncated, see
|
|
15
|
+
# {Privy::Models::EthereumYieldClaimInput} for more details.
|
|
16
|
+
#
|
|
13
17
|
# Input for claiming incentive rewards from vault participation.
|
|
14
18
|
#
|
|
15
|
-
# @param caip2 [String] An EVM CAIP-2 chain identifier (e.g., "eip155:8453" for
|
|
19
|
+
# @param caip2 [String] An EVM CAIP-2 chain identifier (e.g., "eip155:4217" for Tempo, "eip155:8453" for
|
|
16
20
|
end
|
|
17
21
|
end
|
|
18
22
|
end
|
|
@@ -10,7 +10,8 @@ module Privy
|
|
|
10
10
|
required :id, String
|
|
11
11
|
|
|
12
12
|
# @!attribute caip2
|
|
13
|
-
# An EVM CAIP-2 chain identifier (e.g., "eip155:8453" for
|
|
13
|
+
# An EVM CAIP-2 chain identifier (e.g., "eip155:4217" for Tempo, "eip155:8453" for
|
|
14
|
+
# Base).
|
|
14
15
|
#
|
|
15
16
|
# @return [String]
|
|
16
17
|
required :caip2, String
|
|
@@ -40,11 +41,14 @@ module Privy
|
|
|
40
41
|
required :updated_at, Float
|
|
41
42
|
|
|
42
43
|
# @!method initialize(id:, caip2:, created_at:, rewards:, status:, updated_at:)
|
|
44
|
+
# Some parameter documentations has been truncated, see
|
|
45
|
+
# {Privy::Models::EthereumYieldClaimResponse} for more details.
|
|
46
|
+
#
|
|
43
47
|
# Response from a yield reward claim operation.
|
|
44
48
|
#
|
|
45
49
|
# @param id [String] Privy transaction record ID for the claim operation.
|
|
46
50
|
#
|
|
47
|
-
# @param caip2 [String] An EVM CAIP-2 chain identifier (e.g., "eip155:8453" for
|
|
51
|
+
# @param caip2 [String] An EVM CAIP-2 chain identifier (e.g., "eip155:4217" for Tempo, "eip155:8453" for
|
|
48
52
|
#
|
|
49
53
|
# @param created_at [Float] Unix timestamp of when the claim was created, in milliseconds.
|
|
50
54
|
#
|
|
@@ -17,8 +17,8 @@ module Privy
|
|
|
17
17
|
required :asset, String
|
|
18
18
|
|
|
19
19
|
# @!attribute chain
|
|
20
|
-
# A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:
|
|
21
|
-
#
|
|
20
|
+
# A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:4217" for
|
|
21
|
+
# Tempo or "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana mainnet).
|
|
22
22
|
#
|
|
23
23
|
# @return [String]
|
|
24
24
|
required :chain, String
|
|
@@ -33,7 +33,7 @@ module Privy
|
|
|
33
33
|
#
|
|
34
34
|
# @param asset [String] Token identifier string. EVM-shaped 40-hex token addresses normalize to checksum
|
|
35
35
|
#
|
|
36
|
-
# @param chain [String] A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:
|
|
36
|
+
# @param chain [String] A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:4217" for
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
end
|
|
@@ -4,15 +4,15 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class NamedTokenTransferSource < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute asset
|
|
7
|
-
# The asset to transfer. Supported: 'usdc', 'usdb', 'usdt'
|
|
8
|
-
# (native Ethereum), 'sol' (native Solana).
|
|
7
|
+
# The asset to transfer. Supported: 'usdc', 'usdb', 'usdt', 'pathusd'
|
|
8
|
+
# (stablecoins), 'eth' (native Ethereum), 'sol' (native Solana).
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :asset, String
|
|
12
12
|
|
|
13
13
|
# @!attribute chain
|
|
14
14
|
# The blockchain network on which to perform the transfer. Supported chains
|
|
15
|
-
# include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
15
|
+
# include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
16
16
|
# respective testnets.
|
|
17
17
|
#
|
|
18
18
|
# @return [String]
|
|
@@ -36,7 +36,7 @@ module Privy
|
|
|
36
36
|
# Source for a transfer identified by a named asset (e.g. "usdc", "eth"). Use this
|
|
37
37
|
# variant for first-class assets maintained by Privy.
|
|
38
38
|
#
|
|
39
|
-
# @param asset [String] The asset to transfer. Supported: 'usdc', 'usdb', 'usdt'
|
|
39
|
+
# @param asset [String] The asset to transfer. Supported: 'usdc', 'usdb', 'usdt', 'pathusd' (stablecoins
|
|
40
40
|
#
|
|
41
41
|
# @param chain [String] The blockchain network on which to perform the transfer. Supported chains includ
|
|
42
42
|
#
|
|
@@ -4,7 +4,7 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class SolanaSignAndSendTransactionRpcInput < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
7
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
8
8
|
#
|
|
9
9
|
# @return [String]
|
|
10
10
|
required :caip2, String
|
|
@@ -51,10 +51,13 @@ module Privy
|
|
|
51
51
|
optional :wallet_id, String
|
|
52
52
|
|
|
53
53
|
# @!method initialize(caip2:, method_:, params:, address: nil, chain_type: nil, optimistic_broadcast: nil, reference_id: nil, sponsor: nil, wallet_id: nil)
|
|
54
|
+
# Some parameter documentations has been truncated, see
|
|
55
|
+
# {Privy::Models::SolanaSignAndSendTransactionRpcInput} for more details.
|
|
56
|
+
#
|
|
54
57
|
# Executes the SVM `signAndSendTransaction` RPC to sign and broadcast a
|
|
55
58
|
# transaction.
|
|
56
59
|
#
|
|
57
|
-
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
60
|
+
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
58
61
|
#
|
|
59
62
|
# @param method_ [Symbol, Privy::Models::SolanaSignAndSendTransactionRpcInput::Method]
|
|
60
63
|
#
|
|
@@ -4,7 +4,7 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class SolanaSignAndSendTransactionRpcResponseData < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
7
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
8
8
|
#
|
|
9
9
|
# @return [String]
|
|
10
10
|
required :caip2, String
|
|
@@ -30,9 +30,12 @@ module Privy
|
|
|
30
30
|
optional :transaction_id, String
|
|
31
31
|
|
|
32
32
|
# @!method initialize(caip2:, hash_:, reference_id: nil, signed_transaction: nil, transaction_id: nil)
|
|
33
|
+
# Some parameter documentations has been truncated, see
|
|
34
|
+
# {Privy::Models::SolanaSignAndSendTransactionRpcResponseData} for more details.
|
|
35
|
+
#
|
|
33
36
|
# Data returned by the SVM `signAndSendTransaction` RPC.
|
|
34
37
|
#
|
|
35
|
-
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
38
|
+
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
36
39
|
#
|
|
37
40
|
# @param hash_ [String]
|
|
38
41
|
#
|
|
@@ -10,17 +10,21 @@ module Privy
|
|
|
10
10
|
required :asset_address, String
|
|
11
11
|
|
|
12
12
|
# @!attribute caip2
|
|
13
|
-
# CAIP-2 chain identifier (e.g., "eip155:1"
|
|
13
|
+
# CAIP-2 chain identifier (e.g., "eip155:4217" for Tempo, "eip155:1" for
|
|
14
|
+
# Ethereum).
|
|
14
15
|
#
|
|
15
16
|
# @return [String]
|
|
16
17
|
required :caip2, String
|
|
17
18
|
|
|
18
19
|
# @!method initialize(asset_address:, caip2:)
|
|
20
|
+
# Some parameter documentations has been truncated, see
|
|
21
|
+
# {Privy::Models::SwapSource} for more details.
|
|
22
|
+
#
|
|
19
23
|
# The input side of a swap request, including token and chain.
|
|
20
24
|
#
|
|
21
25
|
# @param asset_address [String] Token contract address to sell, or "native" for the chain's native token.
|
|
22
26
|
#
|
|
23
|
-
# @param caip2 [String] CAIP-2 chain identifier (e.g., "eip155:1")
|
|
27
|
+
# @param caip2 [String] CAIP-2 chain identifier (e.g., "eip155:4217" for Tempo, "eip155:1" for Ethereum)
|
|
24
28
|
end
|
|
25
29
|
end
|
|
26
30
|
end
|
|
@@ -18,7 +18,7 @@ module Privy
|
|
|
18
18
|
|
|
19
19
|
# @!attribute chain
|
|
20
20
|
# The destination blockchain network. Required for cross-chain transfers (e.g.,
|
|
21
|
-
# source '
|
|
21
|
+
# source 'tempo' to destination 'base').
|
|
22
22
|
#
|
|
23
23
|
# @return [String, nil]
|
|
24
24
|
optional :chain, String
|
|
@@ -4,7 +4,8 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class TransactionBroadcastedWebhookPayload < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
7
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
8
|
+
# mainnet).
|
|
8
9
|
#
|
|
9
10
|
# @return [String]
|
|
10
11
|
required :caip2, String
|
|
@@ -46,7 +47,7 @@ module Privy
|
|
|
46
47
|
#
|
|
47
48
|
# Payload for the transaction.broadcasted webhook event.
|
|
48
49
|
#
|
|
49
|
-
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
50
|
+
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
50
51
|
#
|
|
51
52
|
# @param transaction_hash [String] The blockchain transaction hash.
|
|
52
53
|
#
|
|
@@ -4,7 +4,8 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class TransactionConfirmedWebhookPayload < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
7
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
8
|
+
# mainnet).
|
|
8
9
|
#
|
|
9
10
|
# @return [String]
|
|
10
11
|
required :caip2, String
|
|
@@ -46,7 +47,7 @@ module Privy
|
|
|
46
47
|
#
|
|
47
48
|
# Payload for the transaction.confirmed webhook event.
|
|
48
49
|
#
|
|
49
|
-
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
50
|
+
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
50
51
|
#
|
|
51
52
|
# @param transaction_hash [String] The blockchain transaction hash.
|
|
52
53
|
#
|
|
@@ -4,7 +4,8 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class TransactionExecutionRevertedWebhookPayload < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
7
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
8
|
+
# mainnet).
|
|
8
9
|
#
|
|
9
10
|
# @return [String]
|
|
10
11
|
required :caip2, String
|
|
@@ -46,7 +47,7 @@ module Privy
|
|
|
46
47
|
#
|
|
47
48
|
# Payload for the transaction.execution_reverted webhook event.
|
|
48
49
|
#
|
|
49
|
-
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
50
|
+
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
50
51
|
#
|
|
51
52
|
# @param transaction_hash [String] The blockchain transaction hash.
|
|
52
53
|
#
|
|
@@ -4,7 +4,8 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class TransactionFailedWebhookPayload < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
7
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
8
|
+
# mainnet).
|
|
8
9
|
#
|
|
9
10
|
# @return [String]
|
|
10
11
|
required :caip2, String
|
|
@@ -46,7 +47,7 @@ module Privy
|
|
|
46
47
|
#
|
|
47
48
|
# Payload for the transaction.failed webhook event.
|
|
48
49
|
#
|
|
49
|
-
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
50
|
+
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
50
51
|
#
|
|
51
52
|
# @param transaction_hash [String] The blockchain transaction hash.
|
|
52
53
|
#
|
|
@@ -4,7 +4,8 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class TransactionProviderErrorWebhookPayload < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
7
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
8
|
+
# mainnet).
|
|
8
9
|
#
|
|
9
10
|
# @return [String]
|
|
10
11
|
required :caip2, String
|
|
@@ -46,7 +47,7 @@ module Privy
|
|
|
46
47
|
#
|
|
47
48
|
# Payload for the transaction.provider_error webhook event.
|
|
48
49
|
#
|
|
49
|
-
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
50
|
+
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
50
51
|
#
|
|
51
52
|
# @param transaction_hash [String] The blockchain transaction hash.
|
|
52
53
|
#
|
|
@@ -4,7 +4,8 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class TransactionReplacedWebhookPayload < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
7
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
8
|
+
# mainnet).
|
|
8
9
|
#
|
|
9
10
|
# @return [String]
|
|
10
11
|
required :caip2, String
|
|
@@ -46,7 +47,7 @@ module Privy
|
|
|
46
47
|
#
|
|
47
48
|
# Payload for the transaction.replaced webhook event.
|
|
48
49
|
#
|
|
49
|
-
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
50
|
+
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
50
51
|
#
|
|
51
52
|
# @param transaction_hash [String] The blockchain transaction hash.
|
|
52
53
|
#
|
|
@@ -4,7 +4,8 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class TransactionStillPendingWebhookPayload < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
7
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
8
|
+
# mainnet).
|
|
8
9
|
#
|
|
9
10
|
# @return [String]
|
|
10
11
|
required :caip2, String
|
|
@@ -53,7 +54,7 @@ module Privy
|
|
|
53
54
|
#
|
|
54
55
|
# Payload for the transaction.still_pending webhook event.
|
|
55
56
|
#
|
|
56
|
-
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
57
|
+
# @param caip2 [String] The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
57
58
|
#
|
|
58
59
|
# @param transaction_hash [String] The blockchain transaction hash.
|
|
59
60
|
#
|
|
@@ -99,6 +99,8 @@ module Privy
|
|
|
99
99
|
|
|
100
100
|
variant const: -> { Privy::Models::TransferReceivedTransactionDetail::Asset::USDB }
|
|
101
101
|
|
|
102
|
+
variant const: -> { Privy::Models::TransferReceivedTransactionDetail::Asset::PATHUSD }
|
|
103
|
+
|
|
102
104
|
variant const: -> { Privy::Models::TransferReceivedTransactionDetail::Asset::SOL }
|
|
103
105
|
|
|
104
106
|
variant const: -> { Privy::Models::TransferReceivedTransactionDetail::Asset::TRX }
|
|
@@ -123,6 +125,7 @@ module Privy
|
|
|
123
125
|
USDT = :usdt
|
|
124
126
|
EURC = :eurc
|
|
125
127
|
USDB = :usdb
|
|
128
|
+
PATHUSD = :pathusd
|
|
126
129
|
SOL = :sol
|
|
127
130
|
TRX = :trx
|
|
128
131
|
|
|
@@ -99,6 +99,8 @@ module Privy
|
|
|
99
99
|
|
|
100
100
|
variant const: -> { Privy::Models::TransferSentTransactionDetail::Asset::USDB }
|
|
101
101
|
|
|
102
|
+
variant const: -> { Privy::Models::TransferSentTransactionDetail::Asset::PATHUSD }
|
|
103
|
+
|
|
102
104
|
variant const: -> { Privy::Models::TransferSentTransactionDetail::Asset::SOL }
|
|
103
105
|
|
|
104
106
|
variant const: -> { Privy::Models::TransferSentTransactionDetail::Asset::TRX }
|
|
@@ -123,6 +125,7 @@ module Privy
|
|
|
123
125
|
USDT = :usdt
|
|
124
126
|
EURC = :eurc
|
|
125
127
|
USDB = :usdb
|
|
128
|
+
PATHUSD = :pathusd
|
|
126
129
|
SOL = :sol
|
|
127
130
|
TRX = :trx
|
|
128
131
|
|
|
@@ -15,12 +15,15 @@ module Privy
|
|
|
15
15
|
required :params, -> { Privy::TronSendTransactionRpcInputParams }
|
|
16
16
|
|
|
17
17
|
# @!attribute caip2
|
|
18
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
18
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
19
19
|
#
|
|
20
20
|
# @return [String, nil]
|
|
21
21
|
optional :caip2, String
|
|
22
22
|
|
|
23
23
|
# @!method initialize(method_:, params:, caip2: nil)
|
|
24
|
+
# Some parameter documentations has been truncated, see
|
|
25
|
+
# {Privy::Models::TronSendTransactionRpcInput} for more details.
|
|
26
|
+
#
|
|
24
27
|
# Executes the Tron `tron_sendTransaction` RPC to sign and broadcast a
|
|
25
28
|
# transaction.
|
|
26
29
|
#
|
|
@@ -28,7 +31,7 @@ module Privy
|
|
|
28
31
|
#
|
|
29
32
|
# @param params [Privy::Models::TronSendTransactionRpcInputParams] Parameters for the Tron `tron_sendTransaction` RPC.
|
|
30
33
|
#
|
|
31
|
-
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
34
|
+
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
32
35
|
|
|
33
36
|
# @see Privy::Models::TronSendTransactionRpcInput#method_
|
|
34
37
|
module Method
|
|
@@ -4,7 +4,7 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class TronSendTransactionRpcResponseData < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute caip2
|
|
7
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
7
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
8
8
|
#
|
|
9
9
|
# @return [String]
|
|
10
10
|
required :caip2, String
|
|
@@ -25,9 +25,12 @@ module Privy
|
|
|
25
25
|
optional :reference_id, String
|
|
26
26
|
|
|
27
27
|
# @!method initialize(caip2:, hash_:, transaction_id:, reference_id: nil)
|
|
28
|
+
# Some parameter documentations has been truncated, see
|
|
29
|
+
# {Privy::Models::TronSendTransactionRpcResponseData} for more details.
|
|
30
|
+
#
|
|
28
31
|
# Data returned by the Tron `tron_sendTransaction` RPC.
|
|
29
32
|
#
|
|
30
|
-
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
33
|
+
# @param caip2 [String] A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
31
34
|
#
|
|
32
35
|
# @param hash_ [String]
|
|
33
36
|
#
|