privy_ruby 0.5.0 → 0.7.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 +20 -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/email_mfa_method.rb +33 -0
- data/lib/privy/models/ethereum_personal_sign_rpc_input.rb +2 -2
- data/lib/privy/models/ethereum_secp_256k_1_sign_rpc_input_params.rb +2 -2
- data/lib/privy/models/ethereum_secp_256k_1_sign_rpc_response_data.rb +2 -2
- data/lib/privy/models/ethereum_send_calls_call.rb +2 -2
- data/lib/privy/models/ethereum_send_calls_rpc_input.rb +4 -4
- data/lib/privy/models/ethereum_send_calls_rpc_response_data.rb +5 -2
- data/lib/privy/models/ethereum_send_transaction_rpc_input.rb +4 -4
- data/lib/privy/models/ethereum_send_transaction_rpc_response_data.rb +2 -2
- data/lib/privy/models/ethereum_sign_7702_authorization.rb +4 -4
- 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/linked_mfa_method.rb +4 -1
- data/lib/privy/models/mfa_email_enroll_request_body.rb +23 -0
- data/lib/privy/models/mfa_email_init_enroll_input.rb +33 -0
- data/lib/privy/models/mfa_email_init_request_body.rb +19 -0
- data/lib/privy/models/mfa_email_init_verify_input.rb +27 -0
- data/lib/privy/models/mfa_email_verify_request_body.rb +17 -0
- data/lib/privy/models/mfa_method.rb +1 -0
- data/lib/privy/models/named_token_transfer_source.rb +4 -4
- data/lib/privy/models/quantity.rb +1 -1
- data/lib/privy/models/raw_sign_hash_params.rb +2 -2
- data/lib/privy/models/raw_sign_response_data.rb +2 -2
- 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/tempo_aa_authorization.rb +2 -2
- data/lib/privy/models/tempo_call.rb +2 -2
- data/lib/privy/models/tempo_fee_payer_signature.rb +4 -4
- 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/unsigned_standard_ethereum_transaction.rb +2 -2
- data/lib/privy/models/user.rb +2 -2
- data/lib/privy/models/user_operation_input.rb +37 -21
- 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/models.rb +12 -0
- data/lib/privy/resources/wallets/balance.rb +2 -2
- data/lib/privy/version.rb +1 -1
- data/lib/privy.rb +6 -0
- 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/email_mfa_method.rbi +53 -0
- data/rbi/privy/models/ethereum_personal_sign_rpc_input.rbi +2 -2
- data/rbi/privy/models/ethereum_secp_256k_1_sign_rpc_input_params.rbi +2 -2
- data/rbi/privy/models/ethereum_secp_256k_1_sign_rpc_response_data.rbi +2 -2
- data/rbi/privy/models/ethereum_send_calls_call.rbi +2 -2
- data/rbi/privy/models/ethereum_send_calls_rpc_input.rbi +4 -4
- data/rbi/privy/models/ethereum_send_calls_rpc_response_data.rbi +2 -2
- data/rbi/privy/models/ethereum_send_transaction_rpc_input.rbi +4 -4
- data/rbi/privy/models/ethereum_send_transaction_rpc_response_data.rbi +2 -2
- data/rbi/privy/models/ethereum_sign_7702_authorization.rbi +4 -4
- 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/linked_mfa_method.rbi +2 -1
- data/rbi/privy/models/mfa_email_enroll_request_body.rbi +29 -0
- data/rbi/privy/models/mfa_email_init_enroll_input.rbi +58 -0
- data/rbi/privy/models/mfa_email_init_request_body.rbi +21 -0
- data/rbi/privy/models/mfa_email_init_verify_input.rbi +51 -0
- data/rbi/privy/models/mfa_email_verify_request_body.rbi +24 -0
- data/rbi/privy/models/mfa_method.rbi +1 -0
- data/rbi/privy/models/named_token_transfer_source.rbi +6 -6
- data/rbi/privy/models/raw_sign_hash_params.rbi +2 -2
- data/rbi/privy/models/raw_sign_response_data.rbi +2 -2
- 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/tempo_aa_authorization.rbi +2 -2
- data/rbi/privy/models/tempo_call.rbi +2 -2
- data/rbi/privy/models/tempo_fee_payer_signature.rbi +4 -4
- 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/unsigned_standard_ethereum_transaction.rbi +2 -2
- data/rbi/privy/models/user.rbi +2 -1
- data/rbi/privy/models/user_operation_input.rbi +42 -20
- 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/models.rbi +12 -0
- data/rbi/privy/resources/wallets/balance.rbi +2 -2
- data/rbi/privy/resources/wallets/earn/ethereum/incentive.rbi +2 -2
- data/sig/privy/models/email_mfa_method.rbs +32 -0
- data/sig/privy/models/linked_mfa_method.rbs +4 -1
- data/sig/privy/models/mfa_email_enroll_request_body.rbs +15 -0
- data/sig/privy/models/mfa_email_init_enroll_input.rbs +35 -0
- data/sig/privy/models/mfa_email_init_request_body.rbs +12 -0
- data/sig/privy/models/mfa_email_init_verify_input.rbs +26 -0
- data/sig/privy/models/mfa_email_verify_request_body.rbs +13 -0
- data/sig/privy/models/mfa_method.rbs +2 -1
- 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
- data/sig/privy/models.rbs +12 -0
- metadata +20 -2
|
@@ -4,7 +4,7 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class RawSignHashParams < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute hash_
|
|
7
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
7
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
8
8
|
# bytes).
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
@@ -16,7 +16,7 @@ module Privy
|
|
|
16
16
|
#
|
|
17
17
|
# Parameters for signing a pre-computed hash with the `raw_sign` RPC.
|
|
18
18
|
#
|
|
19
|
-
# @param hash_ [String] A hex-encoded string prefixed with '0x', capped at
|
|
19
|
+
# @param hash_ [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
22
|
end
|
|
@@ -9,7 +9,7 @@ module Privy
|
|
|
9
9
|
required :encoding, enum: -> { Privy::RawSignResponseData::Encoding }
|
|
10
10
|
|
|
11
11
|
# @!attribute signature
|
|
12
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
12
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
13
13
|
# bytes).
|
|
14
14
|
#
|
|
15
15
|
# @return [String]
|
|
@@ -23,7 +23,7 @@ module Privy
|
|
|
23
23
|
#
|
|
24
24
|
# @param encoding [Symbol, Privy::Models::RawSignResponseData::Encoding]
|
|
25
25
|
#
|
|
26
|
-
# @param signature [String] A hex-encoded string prefixed with '0x', capped at
|
|
26
|
+
# @param signature [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
27
27
|
|
|
28
28
|
# @see Privy::Models::RawSignResponseData#encoding
|
|
29
29
|
module Encoding
|
|
@@ -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
|
|
@@ -23,7 +23,7 @@ module Privy
|
|
|
23
23
|
required :nonce, union: -> { Privy::Quantity }
|
|
24
24
|
|
|
25
25
|
# @!attribute signature
|
|
26
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
26
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
27
27
|
# bytes).
|
|
28
28
|
#
|
|
29
29
|
# @return [String]
|
|
@@ -41,7 +41,7 @@ module Privy
|
|
|
41
41
|
#
|
|
42
42
|
# @param nonce [String, Integer] A quantity value that can be either a hex string starting with '0x' or a non-neg
|
|
43
43
|
#
|
|
44
|
-
# @param signature [String] A hex-encoded string prefixed with '0x', capped at
|
|
44
|
+
# @param signature [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
end
|
|
@@ -9,7 +9,7 @@ module Privy
|
|
|
9
9
|
required :to, String
|
|
10
10
|
|
|
11
11
|
# @!attribute data
|
|
12
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
12
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
13
13
|
# bytes).
|
|
14
14
|
#
|
|
15
15
|
# @return [String, nil]
|
|
@@ -30,7 +30,7 @@ module Privy
|
|
|
30
30
|
#
|
|
31
31
|
# @param to [String]
|
|
32
32
|
#
|
|
33
|
-
# @param data [String] A hex-encoded string prefixed with '0x', capped at
|
|
33
|
+
# @param data [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
34
34
|
#
|
|
35
35
|
# @param value [String, Integer] A quantity value that can be either a hex string starting with '0x' or a non-neg
|
|
36
36
|
end
|
|
@@ -4,14 +4,14 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class TempoFeePayerSignature < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute r
|
|
7
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
7
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
8
8
|
# bytes).
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :r, String
|
|
12
12
|
|
|
13
13
|
# @!attribute s
|
|
14
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
14
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
15
15
|
# bytes).
|
|
16
16
|
#
|
|
17
17
|
# @return [String]
|
|
@@ -28,9 +28,9 @@ module Privy
|
|
|
28
28
|
#
|
|
29
29
|
# A fee payer signature for sponsored Tempo transactions (secp256k1 only).
|
|
30
30
|
#
|
|
31
|
-
# @param r [String] A hex-encoded string prefixed with '0x', capped at
|
|
31
|
+
# @param r [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
32
32
|
#
|
|
33
|
-
# @param s [String] A hex-encoded string prefixed with '0x', capped at
|
|
33
|
+
# @param s [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
34
34
|
#
|
|
35
35
|
# @param y_parity [Float, Privy::Models::TempoFeePayerSignature::YParity]
|
|
36
36
|
|
|
@@ -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
|
#
|
|
@@ -16,7 +16,7 @@ module Privy
|
|
|
16
16
|
optional :chain_id, union: -> { Privy::Quantity }
|
|
17
17
|
|
|
18
18
|
# @!attribute data
|
|
19
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
19
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
20
20
|
# bytes).
|
|
21
21
|
#
|
|
22
22
|
# @return [String, nil]
|
|
@@ -90,7 +90,7 @@ module Privy
|
|
|
90
90
|
#
|
|
91
91
|
# @param chain_id [String, Integer] A quantity value that can be either a hex string starting with '0x' or a non-neg
|
|
92
92
|
#
|
|
93
|
-
# @param data [String] A hex-encoded string prefixed with '0x', capped at
|
|
93
|
+
# @param data [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
94
94
|
#
|
|
95
95
|
# @param from [String]
|
|
96
96
|
#
|
data/lib/privy/models/user.rb
CHANGED
|
@@ -34,7 +34,7 @@ module Privy
|
|
|
34
34
|
|
|
35
35
|
# @!attribute mfa_methods
|
|
36
36
|
#
|
|
37
|
-
# @return [Array<Privy::Models::SMSMfaMethod, Privy::Models::TotpMfaMethod, Privy::Models::PasskeyMfaMethod>]
|
|
37
|
+
# @return [Array<Privy::Models::SMSMfaMethod, Privy::Models::TotpMfaMethod, Privy::Models::PasskeyMfaMethod, Privy::Models::EmailMfaMethod>]
|
|
38
38
|
required :mfa_methods, -> { Privy::Internal::Type::ArrayOf[union: Privy::LinkedMfaMethod] }
|
|
39
39
|
|
|
40
40
|
# @!attribute custom_metadata
|
|
@@ -56,7 +56,7 @@ module Privy
|
|
|
56
56
|
#
|
|
57
57
|
# @param linked_accounts [Array<Privy::Models::LinkedAccountEmail, Privy::Models::LinkedAccountPhone, Privy::Models::LinkedAccountEthereum, Privy::Models::LinkedAccountSolana, Privy::Models::LinkedAccountSmartWallet, Privy::Models::LinkedAccountEthereumEmbeddedWallet, Privy::Models::LinkedAccountSolanaEmbeddedWallet, Privy::Models::LinkedAccountBitcoinSegwitEmbeddedWallet, Privy::Models::LinkedAccountBitcoinTaprootEmbeddedWallet, Privy::Models::LinkedAccountCurveSigningEmbeddedWallet, Privy::Models::LinkedAccountGoogleOAuth, Privy::Models::LinkedAccountTwitterOAuth, Privy::Models::LinkedAccountDiscordOAuth, Privy::Models::LinkedAccountGitHubOAuth, Privy::Models::LinkedAccountSpotifyOAuth, Privy::Models::LinkedAccountInstagramOAuth, Privy::Models::LinkedAccountTiktokOAuth, Privy::Models::LinkedAccountLineOAuth, Privy::Models::LinkedAccountTwitchOAuth, Privy::Models::LinkedAccountLinkedInOAuth, Privy::Models::LinkedAccountAppleOAuth, Privy::Models::LinkedAccountCustomOAuth, Privy::Models::LinkedAccountCustomJwt, Privy::Models::LinkedAccountFarcaster, Privy::Models::LinkedAccountPasskey, Privy::Models::LinkedAccountTelegram, Privy::Models::LinkedAccountCrossApp, Privy::Models::LinkedAccountAuthorizationKey>]
|
|
58
58
|
#
|
|
59
|
-
# @param mfa_methods [Array<Privy::Models::SMSMfaMethod, Privy::Models::TotpMfaMethod, Privy::Models::PasskeyMfaMethod>]
|
|
59
|
+
# @param mfa_methods [Array<Privy::Models::SMSMfaMethod, Privy::Models::TotpMfaMethod, Privy::Models::PasskeyMfaMethod, Privy::Models::EmailMfaMethod>]
|
|
60
60
|
#
|
|
61
61
|
# @param custom_metadata [Hash{Symbol=>String, Float, Boolean}] Custom metadata associated with the user.
|
|
62
62
|
end
|
|
@@ -4,42 +4,42 @@ module Privy
|
|
|
4
4
|
module Models
|
|
5
5
|
class UserOperationInput < Privy::Internal::Type::BaseModel
|
|
6
6
|
# @!attribute call_data
|
|
7
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
7
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
8
8
|
# bytes).
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :call_data, String
|
|
12
12
|
|
|
13
13
|
# @!attribute call_gas_limit
|
|
14
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
14
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
15
15
|
# bytes).
|
|
16
16
|
#
|
|
17
17
|
# @return [String]
|
|
18
18
|
required :call_gas_limit, String
|
|
19
19
|
|
|
20
20
|
# @!attribute max_fee_per_gas
|
|
21
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
21
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
22
22
|
# bytes).
|
|
23
23
|
#
|
|
24
24
|
# @return [String]
|
|
25
25
|
required :max_fee_per_gas, String
|
|
26
26
|
|
|
27
27
|
# @!attribute max_priority_fee_per_gas
|
|
28
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
28
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
29
29
|
# bytes).
|
|
30
30
|
#
|
|
31
31
|
# @return [String]
|
|
32
32
|
required :max_priority_fee_per_gas, String
|
|
33
33
|
|
|
34
34
|
# @!attribute nonce
|
|
35
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
35
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
36
36
|
# bytes).
|
|
37
37
|
#
|
|
38
38
|
# @return [String]
|
|
39
39
|
required :nonce, String
|
|
40
40
|
|
|
41
41
|
# @!attribute pre_verification_gas
|
|
42
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
42
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
43
43
|
# bytes).
|
|
44
44
|
#
|
|
45
45
|
# @return [String]
|
|
@@ -51,67 +51,83 @@ module Privy
|
|
|
51
51
|
required :sender, String
|
|
52
52
|
|
|
53
53
|
# @!attribute verification_gas_limit
|
|
54
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
54
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
55
55
|
# bytes).
|
|
56
56
|
#
|
|
57
57
|
# @return [String]
|
|
58
58
|
required :verification_gas_limit, String
|
|
59
59
|
|
|
60
|
+
# @!attribute factory
|
|
61
|
+
#
|
|
62
|
+
# @return [String, nil]
|
|
63
|
+
optional :factory, String
|
|
64
|
+
|
|
65
|
+
# @!attribute factory_data
|
|
66
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
67
|
+
# bytes).
|
|
68
|
+
#
|
|
69
|
+
# @return [String, nil]
|
|
70
|
+
optional :factory_data, String
|
|
71
|
+
|
|
60
72
|
# @!attribute paymaster
|
|
61
73
|
#
|
|
62
74
|
# @return [String, nil]
|
|
63
75
|
optional :paymaster, String
|
|
64
76
|
|
|
65
77
|
# @!attribute paymaster_data
|
|
66
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
78
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
67
79
|
# bytes).
|
|
68
80
|
#
|
|
69
81
|
# @return [String, nil]
|
|
70
82
|
optional :paymaster_data, String
|
|
71
83
|
|
|
72
84
|
# @!attribute paymaster_post_op_gas_limit
|
|
73
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
85
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
74
86
|
# bytes).
|
|
75
87
|
#
|
|
76
88
|
# @return [String, nil]
|
|
77
89
|
optional :paymaster_post_op_gas_limit, String
|
|
78
90
|
|
|
79
91
|
# @!attribute paymaster_verification_gas_limit
|
|
80
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
92
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
81
93
|
# bytes).
|
|
82
94
|
#
|
|
83
95
|
# @return [String, nil]
|
|
84
96
|
optional :paymaster_verification_gas_limit, String
|
|
85
97
|
|
|
86
|
-
# @!method initialize(call_data:, call_gas_limit:, max_fee_per_gas:, max_priority_fee_per_gas:, nonce:, pre_verification_gas:, sender:, verification_gas_limit:, paymaster: nil, paymaster_data: nil, paymaster_post_op_gas_limit: nil, paymaster_verification_gas_limit: nil)
|
|
98
|
+
# @!method initialize(call_data:, call_gas_limit:, max_fee_per_gas:, max_priority_fee_per_gas:, nonce:, pre_verification_gas:, sender:, verification_gas_limit:, factory: nil, factory_data: nil, paymaster: nil, paymaster_data: nil, paymaster_post_op_gas_limit: nil, paymaster_verification_gas_limit: nil)
|
|
87
99
|
# Some parameter documentations has been truncated, see
|
|
88
100
|
# {Privy::Models::UserOperationInput} for more details.
|
|
89
101
|
#
|
|
90
102
|
# An ERC-4337 user operation.
|
|
91
103
|
#
|
|
92
|
-
# @param call_data [String] A hex-encoded string prefixed with '0x', capped at
|
|
104
|
+
# @param call_data [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
93
105
|
#
|
|
94
|
-
# @param call_gas_limit [String] A hex-encoded string prefixed with '0x', capped at
|
|
106
|
+
# @param call_gas_limit [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
95
107
|
#
|
|
96
|
-
# @param max_fee_per_gas [String] A hex-encoded string prefixed with '0x', capped at
|
|
108
|
+
# @param max_fee_per_gas [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
97
109
|
#
|
|
98
|
-
# @param max_priority_fee_per_gas [String] A hex-encoded string prefixed with '0x', capped at
|
|
110
|
+
# @param max_priority_fee_per_gas [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
99
111
|
#
|
|
100
|
-
# @param nonce [String] A hex-encoded string prefixed with '0x', capped at
|
|
112
|
+
# @param nonce [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
101
113
|
#
|
|
102
|
-
# @param pre_verification_gas [String] A hex-encoded string prefixed with '0x', capped at
|
|
114
|
+
# @param pre_verification_gas [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
103
115
|
#
|
|
104
116
|
# @param sender [String]
|
|
105
117
|
#
|
|
106
|
-
# @param verification_gas_limit [String] A hex-encoded string prefixed with '0x', capped at
|
|
118
|
+
# @param verification_gas_limit [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
119
|
+
#
|
|
120
|
+
# @param factory [String]
|
|
121
|
+
#
|
|
122
|
+
# @param factory_data [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
107
123
|
#
|
|
108
124
|
# @param paymaster [String]
|
|
109
125
|
#
|
|
110
|
-
# @param paymaster_data [String] A hex-encoded string prefixed with '0x', capped at
|
|
126
|
+
# @param paymaster_data [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
111
127
|
#
|
|
112
|
-
# @param paymaster_post_op_gas_limit [String] A hex-encoded string prefixed with '0x', capped at
|
|
128
|
+
# @param paymaster_post_op_gas_limit [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
113
129
|
#
|
|
114
|
-
# @param paymaster_verification_gas_limit [String] A hex-encoded string prefixed with '0x', capped at
|
|
130
|
+
# @param paymaster_verification_gas_limit [String] A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000 by
|
|
115
131
|
end
|
|
116
132
|
end
|
|
117
133
|
end
|
|
@@ -10,7 +10,7 @@ module Privy
|
|
|
10
10
|
required :action_type, enum: -> { Privy::Wallets::WalletActionType }
|
|
11
11
|
|
|
12
12
|
# @!attribute chain
|
|
13
|
-
# EVM chain name (e.g. "
|
|
13
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
14
14
|
#
|
|
15
15
|
# @return [String]
|
|
16
16
|
required :chain, String
|
|
@@ -58,7 +58,7 @@ module Privy
|
|
|
58
58
|
#
|
|
59
59
|
# @param action_type [Symbol, Privy::Models::Wallets::WalletActionType] Type of wallet action
|
|
60
60
|
#
|
|
61
|
-
# @param chain [String] EVM chain name (e.g. "
|
|
61
|
+
# @param chain [String] EVM chain name (e.g. "tempo", "base").
|
|
62
62
|
#
|
|
63
63
|
# @param created_at [String] ISO 8601 timestamp of when the wallet action was created.
|
|
64
64
|
#
|
|
@@ -10,7 +10,7 @@ module Privy
|
|
|
10
10
|
required :action_type, enum: -> { Privy::Wallets::WalletActionType }
|
|
11
11
|
|
|
12
12
|
# @!attribute chain
|
|
13
|
-
# EVM chain name (e.g. "
|
|
13
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
14
14
|
#
|
|
15
15
|
# @return [String]
|
|
16
16
|
required :chain, String
|
|
@@ -81,7 +81,7 @@ module Privy
|
|
|
81
81
|
#
|
|
82
82
|
# @param action_type [Symbol, Privy::Models::Wallets::WalletActionType] Type of wallet action
|
|
83
83
|
#
|
|
84
|
-
# @param chain [String] EVM chain name (e.g. "
|
|
84
|
+
# @param chain [String] EVM chain name (e.g. "tempo", "base").
|
|
85
85
|
#
|
|
86
86
|
# @param created_at [String] ISO 8601 timestamp of when the wallet action was created.
|
|
87
87
|
#
|