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
|
@@ -11,7 +11,8 @@ module Privy
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
14
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
15
|
+
# mainnet).
|
|
15
16
|
sig { returns(String) }
|
|
16
17
|
attr_accessor :caip2
|
|
17
18
|
|
|
@@ -50,7 +51,8 @@ module Privy
|
|
|
50
51
|
).returns(T.attached_class)
|
|
51
52
|
end
|
|
52
53
|
def self.new(
|
|
53
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
54
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
55
|
+
# mainnet).
|
|
54
56
|
caip2:,
|
|
55
57
|
# The blockchain transaction hash.
|
|
56
58
|
transaction_hash:,
|
|
@@ -11,7 +11,8 @@ module Privy
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
14
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
15
|
+
# mainnet).
|
|
15
16
|
sig { returns(String) }
|
|
16
17
|
attr_accessor :caip2
|
|
17
18
|
|
|
@@ -53,7 +54,8 @@ module Privy
|
|
|
53
54
|
).returns(T.attached_class)
|
|
54
55
|
end
|
|
55
56
|
def self.new(
|
|
56
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
57
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
58
|
+
# mainnet).
|
|
57
59
|
caip2:,
|
|
58
60
|
# The blockchain transaction hash.
|
|
59
61
|
transaction_hash:,
|
|
@@ -11,7 +11,8 @@ module Privy
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
14
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
15
|
+
# mainnet).
|
|
15
16
|
sig { returns(String) }
|
|
16
17
|
attr_accessor :caip2
|
|
17
18
|
|
|
@@ -50,7 +51,8 @@ module Privy
|
|
|
50
51
|
).returns(T.attached_class)
|
|
51
52
|
end
|
|
52
53
|
def self.new(
|
|
53
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
54
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
55
|
+
# mainnet).
|
|
54
56
|
caip2:,
|
|
55
57
|
# The blockchain transaction hash.
|
|
56
58
|
transaction_hash:,
|
|
@@ -11,7 +11,8 @@ module Privy
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
14
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
15
|
+
# mainnet).
|
|
15
16
|
sig { returns(String) }
|
|
16
17
|
attr_accessor :caip2
|
|
17
18
|
|
|
@@ -52,7 +53,8 @@ module Privy
|
|
|
52
53
|
).returns(T.attached_class)
|
|
53
54
|
end
|
|
54
55
|
def self.new(
|
|
55
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
56
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
57
|
+
# mainnet).
|
|
56
58
|
caip2:,
|
|
57
59
|
# The blockchain transaction hash.
|
|
58
60
|
transaction_hash:,
|
|
@@ -11,7 +11,8 @@ module Privy
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
14
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
15
|
+
# mainnet).
|
|
15
16
|
sig { returns(String) }
|
|
16
17
|
attr_accessor :caip2
|
|
17
18
|
|
|
@@ -50,7 +51,8 @@ module Privy
|
|
|
50
51
|
).returns(T.attached_class)
|
|
51
52
|
end
|
|
52
53
|
def self.new(
|
|
53
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
54
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
55
|
+
# mainnet).
|
|
54
56
|
caip2:,
|
|
55
57
|
# The blockchain transaction hash.
|
|
56
58
|
transaction_hash:,
|
|
@@ -11,7 +11,8 @@ module Privy
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
14
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
15
|
+
# mainnet).
|
|
15
16
|
sig { returns(String) }
|
|
16
17
|
attr_accessor :caip2
|
|
17
18
|
|
|
@@ -67,7 +68,8 @@ module Privy
|
|
|
67
68
|
).returns(T.attached_class)
|
|
68
69
|
end
|
|
69
70
|
def self.new(
|
|
70
|
-
# The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
71
|
+
# The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
72
|
+
# mainnet).
|
|
71
73
|
caip2:,
|
|
72
74
|
# The blockchain transaction hash.
|
|
73
75
|
transaction_hash:,
|
|
@@ -153,6 +153,11 @@ module Privy
|
|
|
153
153
|
:usdb,
|
|
154
154
|
Privy::TransferSentTransactionDetail::Asset::TaggedSymbol
|
|
155
155
|
)
|
|
156
|
+
PATHUSD =
|
|
157
|
+
T.let(
|
|
158
|
+
:pathusd,
|
|
159
|
+
Privy::TransferSentTransactionDetail::Asset::TaggedSymbol
|
|
160
|
+
)
|
|
156
161
|
SOL =
|
|
157
162
|
T.let(:sol, Privy::TransferSentTransactionDetail::Asset::TaggedSymbol)
|
|
158
163
|
TRX =
|
|
@@ -20,7 +20,7 @@ module Privy
|
|
|
20
20
|
end
|
|
21
21
|
attr_writer :params
|
|
22
22
|
|
|
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
|
sig { returns(T.nilable(String)) }
|
|
25
25
|
attr_reader :caip2
|
|
26
26
|
|
|
@@ -40,7 +40,7 @@ module Privy
|
|
|
40
40
|
method_:,
|
|
41
41
|
# Parameters for the Tron `tron_sendTransaction` RPC.
|
|
42
42
|
params:,
|
|
43
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
43
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
44
44
|
caip2: nil
|
|
45
45
|
)
|
|
46
46
|
end
|
|
@@ -11,7 +11,7 @@ module Privy
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
14
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
15
15
|
sig { returns(String) }
|
|
16
16
|
attr_accessor :caip2
|
|
17
17
|
|
|
@@ -37,7 +37,7 @@ module Privy
|
|
|
37
37
|
).returns(T.attached_class)
|
|
38
38
|
end
|
|
39
39
|
def self.new(
|
|
40
|
-
# A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
40
|
+
# A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
41
41
|
caip2:,
|
|
42
42
|
hash_:,
|
|
43
43
|
transaction_id:,
|
|
@@ -30,7 +30,7 @@ module Privy
|
|
|
30
30
|
sig { params(chain_id: Privy::Quantity::Variants).void }
|
|
31
31
|
attr_writer :chain_id
|
|
32
32
|
|
|
33
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
33
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
34
34
|
# bytes).
|
|
35
35
|
sig { returns(T.nilable(String)) }
|
|
36
36
|
attr_reader :data
|
|
@@ -136,7 +136,7 @@ module Privy
|
|
|
136
136
|
# A quantity value that can be either a hex string starting with '0x' or a
|
|
137
137
|
# non-negative integer.
|
|
138
138
|
chain_id: nil,
|
|
139
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
139
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
140
140
|
# bytes).
|
|
141
141
|
data: nil,
|
|
142
142
|
from: nil,
|
data/rbi/privy/models/user.rbi
CHANGED
|
@@ -84,7 +84,8 @@ module Privy
|
|
|
84
84
|
T.any(
|
|
85
85
|
Privy::SMSMfaMethod::OrHash,
|
|
86
86
|
Privy::TotpMfaMethod::OrHash,
|
|
87
|
-
Privy::PasskeyMfaMethod::OrHash
|
|
87
|
+
Privy::PasskeyMfaMethod::OrHash,
|
|
88
|
+
Privy::EmailMfaMethod::OrHash
|
|
88
89
|
)
|
|
89
90
|
],
|
|
90
91
|
custom_metadata: T::Hash[Symbol, Privy::CustomMetadataItem::Variants]
|
|
@@ -8,32 +8,32 @@ module Privy
|
|
|
8
8
|
T.any(Privy::UserOperationInput, Privy::Internal::AnyHash)
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
11
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
12
12
|
# bytes).
|
|
13
13
|
sig { returns(String) }
|
|
14
14
|
attr_accessor :call_data
|
|
15
15
|
|
|
16
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
16
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
17
17
|
# bytes).
|
|
18
18
|
sig { returns(String) }
|
|
19
19
|
attr_accessor :call_gas_limit
|
|
20
20
|
|
|
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
|
sig { returns(String) }
|
|
24
24
|
attr_accessor :max_fee_per_gas
|
|
25
25
|
|
|
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
|
sig { returns(String) }
|
|
29
29
|
attr_accessor :max_priority_fee_per_gas
|
|
30
30
|
|
|
31
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
31
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
32
32
|
# bytes).
|
|
33
33
|
sig { returns(String) }
|
|
34
34
|
attr_accessor :nonce
|
|
35
35
|
|
|
36
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
36
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
37
37
|
# bytes).
|
|
38
38
|
sig { returns(String) }
|
|
39
39
|
attr_accessor :pre_verification_gas
|
|
@@ -41,18 +41,32 @@ module Privy
|
|
|
41
41
|
sig { returns(String) }
|
|
42
42
|
attr_accessor :sender
|
|
43
43
|
|
|
44
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
44
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
45
45
|
# bytes).
|
|
46
46
|
sig { returns(String) }
|
|
47
47
|
attr_accessor :verification_gas_limit
|
|
48
48
|
|
|
49
|
+
sig { returns(T.nilable(String)) }
|
|
50
|
+
attr_reader :factory
|
|
51
|
+
|
|
52
|
+
sig { params(factory: String).void }
|
|
53
|
+
attr_writer :factory
|
|
54
|
+
|
|
55
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
56
|
+
# bytes).
|
|
57
|
+
sig { returns(T.nilable(String)) }
|
|
58
|
+
attr_reader :factory_data
|
|
59
|
+
|
|
60
|
+
sig { params(factory_data: String).void }
|
|
61
|
+
attr_writer :factory_data
|
|
62
|
+
|
|
49
63
|
sig { returns(T.nilable(String)) }
|
|
50
64
|
attr_reader :paymaster
|
|
51
65
|
|
|
52
66
|
sig { params(paymaster: String).void }
|
|
53
67
|
attr_writer :paymaster
|
|
54
68
|
|
|
55
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
69
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
56
70
|
# bytes).
|
|
57
71
|
sig { returns(T.nilable(String)) }
|
|
58
72
|
attr_reader :paymaster_data
|
|
@@ -60,7 +74,7 @@ module Privy
|
|
|
60
74
|
sig { params(paymaster_data: String).void }
|
|
61
75
|
attr_writer :paymaster_data
|
|
62
76
|
|
|
63
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
77
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
64
78
|
# bytes).
|
|
65
79
|
sig { returns(T.nilable(String)) }
|
|
66
80
|
attr_reader :paymaster_post_op_gas_limit
|
|
@@ -68,7 +82,7 @@ module Privy
|
|
|
68
82
|
sig { params(paymaster_post_op_gas_limit: String).void }
|
|
69
83
|
attr_writer :paymaster_post_op_gas_limit
|
|
70
84
|
|
|
71
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
85
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
72
86
|
# bytes).
|
|
73
87
|
sig { returns(T.nilable(String)) }
|
|
74
88
|
attr_reader :paymaster_verification_gas_limit
|
|
@@ -87,6 +101,8 @@ module Privy
|
|
|
87
101
|
pre_verification_gas: String,
|
|
88
102
|
sender: String,
|
|
89
103
|
verification_gas_limit: String,
|
|
104
|
+
factory: String,
|
|
105
|
+
factory_data: String,
|
|
90
106
|
paymaster: String,
|
|
91
107
|
paymaster_data: String,
|
|
92
108
|
paymaster_post_op_gas_limit: String,
|
|
@@ -94,36 +110,40 @@ module Privy
|
|
|
94
110
|
).returns(T.attached_class)
|
|
95
111
|
end
|
|
96
112
|
def self.new(
|
|
97
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
113
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
98
114
|
# bytes).
|
|
99
115
|
call_data:,
|
|
100
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
116
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
101
117
|
# bytes).
|
|
102
118
|
call_gas_limit:,
|
|
103
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
119
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
104
120
|
# bytes).
|
|
105
121
|
max_fee_per_gas:,
|
|
106
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
122
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
107
123
|
# bytes).
|
|
108
124
|
max_priority_fee_per_gas:,
|
|
109
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
125
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
110
126
|
# bytes).
|
|
111
127
|
nonce:,
|
|
112
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
128
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
113
129
|
# bytes).
|
|
114
130
|
pre_verification_gas:,
|
|
115
131
|
sender:,
|
|
116
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
132
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
117
133
|
# bytes).
|
|
118
134
|
verification_gas_limit:,
|
|
135
|
+
factory: nil,
|
|
136
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
137
|
+
# bytes).
|
|
138
|
+
factory_data: nil,
|
|
119
139
|
paymaster: nil,
|
|
120
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
140
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
121
141
|
# bytes).
|
|
122
142
|
paymaster_data: nil,
|
|
123
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
143
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
124
144
|
# bytes).
|
|
125
145
|
paymaster_post_op_gas_limit: nil,
|
|
126
|
-
# A hex-encoded string prefixed with '0x', capped at
|
|
146
|
+
# A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
127
147
|
# bytes).
|
|
128
148
|
paymaster_verification_gas_limit: nil
|
|
129
149
|
)
|
|
@@ -140,6 +160,8 @@ module Privy
|
|
|
140
160
|
pre_verification_gas: String,
|
|
141
161
|
sender: String,
|
|
142
162
|
verification_gas_limit: String,
|
|
163
|
+
factory: String,
|
|
164
|
+
factory_data: String,
|
|
143
165
|
paymaster: String,
|
|
144
166
|
paymaster_data: String,
|
|
145
167
|
paymaster_post_op_gas_limit: String,
|
|
@@ -15,7 +15,7 @@ module Privy
|
|
|
15
15
|
sig { returns(Privy::Wallets::WalletActionType::TaggedSymbol) }
|
|
16
16
|
attr_accessor :action_type
|
|
17
17
|
|
|
18
|
-
# EVM chain name (e.g. "
|
|
18
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :chain
|
|
21
21
|
|
|
@@ -76,7 +76,7 @@ module Privy
|
|
|
76
76
|
def self.new(
|
|
77
77
|
# Type of wallet action
|
|
78
78
|
action_type:,
|
|
79
|
-
# EVM chain name (e.g. "
|
|
79
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
80
80
|
chain:,
|
|
81
81
|
# ISO 8601 timestamp of when the wallet action was created.
|
|
82
82
|
created_at:,
|
|
@@ -15,7 +15,7 @@ module Privy
|
|
|
15
15
|
sig { returns(Privy::Wallets::WalletActionType::TaggedSymbol) }
|
|
16
16
|
attr_accessor :action_type
|
|
17
17
|
|
|
18
|
-
# EVM chain name (e.g. "
|
|
18
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :chain
|
|
21
21
|
|
|
@@ -105,7 +105,7 @@ module Privy
|
|
|
105
105
|
def self.new(
|
|
106
106
|
# Type of wallet action
|
|
107
107
|
action_type:,
|
|
108
|
-
# EVM chain name (e.g. "
|
|
108
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
109
109
|
chain:,
|
|
110
110
|
# ISO 8601 timestamp of when the wallet action was created.
|
|
111
111
|
created_at:,
|
|
@@ -15,7 +15,7 @@ module Privy
|
|
|
15
15
|
sig { returns(Privy::Wallets::WalletActionType::TaggedSymbol) }
|
|
16
16
|
attr_accessor :action_type
|
|
17
17
|
|
|
18
|
-
# EVM chain name (e.g. "
|
|
18
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :chain
|
|
21
21
|
|
|
@@ -104,7 +104,7 @@ module Privy
|
|
|
104
104
|
def self.new(
|
|
105
105
|
# Type of wallet action
|
|
106
106
|
action_type:,
|
|
107
|
-
# EVM chain name (e.g. "
|
|
107
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
108
108
|
chain:,
|
|
109
109
|
# ISO 8601 timestamp of when the wallet action was created.
|
|
110
110
|
created_at:,
|
|
@@ -15,7 +15,7 @@ module Privy
|
|
|
15
15
|
sig { returns(Privy::Wallets::WalletActionType::TaggedSymbol) }
|
|
16
16
|
attr_accessor :action_type
|
|
17
17
|
|
|
18
|
-
# EVM chain name (e.g. "
|
|
18
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :chain
|
|
21
21
|
|
|
@@ -96,7 +96,7 @@ module Privy
|
|
|
96
96
|
def self.new(
|
|
97
97
|
# Type of wallet action
|
|
98
98
|
action_type:,
|
|
99
|
-
# EVM chain name (e.g. "
|
|
99
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
100
100
|
chain:,
|
|
101
101
|
# ISO 8601 timestamp of when the wallet action completed successfully.
|
|
102
102
|
completed_at:,
|
|
@@ -23,7 +23,7 @@ module Privy
|
|
|
23
23
|
sig { returns(String) }
|
|
24
24
|
attr_accessor :destination_address
|
|
25
25
|
|
|
26
|
-
# Chain name (e.g. "
|
|
26
|
+
# Chain name (e.g. "tempo", "base").
|
|
27
27
|
sig { returns(String) }
|
|
28
28
|
attr_accessor :source_chain
|
|
29
29
|
|
|
@@ -109,7 +109,7 @@ module Privy
|
|
|
109
109
|
created_at:,
|
|
110
110
|
# Recipient address.
|
|
111
111
|
destination_address:,
|
|
112
|
-
# Chain name (e.g. "
|
|
112
|
+
# Chain name (e.g. "tempo", "base").
|
|
113
113
|
source_chain:,
|
|
114
114
|
# The status of the wallet action.
|
|
115
115
|
status:,
|
|
@@ -34,7 +34,7 @@ module Privy
|
|
|
34
34
|
sig { params(failure_reason: Privy::Wallets::FailureReason::OrHash).void }
|
|
35
35
|
attr_writer :failure_reason
|
|
36
36
|
|
|
37
|
-
# Chain name (e.g. "
|
|
37
|
+
# Chain name (e.g. "tempo", "base").
|
|
38
38
|
sig { returns(String) }
|
|
39
39
|
attr_accessor :source_chain
|
|
40
40
|
|
|
@@ -141,7 +141,7 @@ module Privy
|
|
|
141
141
|
failed_at:,
|
|
142
142
|
# A description of why a wallet action (or a step within a wallet action) failed.
|
|
143
143
|
failure_reason:,
|
|
144
|
-
# Chain name (e.g. "
|
|
144
|
+
# Chain name (e.g. "tempo", "base").
|
|
145
145
|
source_chain:,
|
|
146
146
|
# The status of the wallet action.
|
|
147
147
|
status:,
|
|
@@ -34,7 +34,7 @@ module Privy
|
|
|
34
34
|
sig { returns(String) }
|
|
35
35
|
attr_accessor :rejected_at
|
|
36
36
|
|
|
37
|
-
# Chain name (e.g. "
|
|
37
|
+
# Chain name (e.g. "tempo", "base").
|
|
38
38
|
sig { returns(String) }
|
|
39
39
|
attr_accessor :source_chain
|
|
40
40
|
|
|
@@ -141,7 +141,7 @@ module Privy
|
|
|
141
141
|
failure_reason:,
|
|
142
142
|
# ISO 8601 timestamp of when the wallet action was rejected.
|
|
143
143
|
rejected_at:,
|
|
144
|
-
# Chain name (e.g. "
|
|
144
|
+
# Chain name (e.g. "tempo", "base").
|
|
145
145
|
source_chain:,
|
|
146
146
|
# The status of the wallet action.
|
|
147
147
|
status:,
|
|
@@ -27,7 +27,7 @@ module Privy
|
|
|
27
27
|
sig { returns(String) }
|
|
28
28
|
attr_accessor :destination_address
|
|
29
29
|
|
|
30
|
-
# Chain name (e.g. "
|
|
30
|
+
# Chain name (e.g. "tempo", "base").
|
|
31
31
|
sig { returns(String) }
|
|
32
32
|
attr_accessor :source_chain
|
|
33
33
|
|
|
@@ -131,7 +131,7 @@ module Privy
|
|
|
131
131
|
created_at:,
|
|
132
132
|
# Recipient address.
|
|
133
133
|
destination_address:,
|
|
134
|
-
# Chain name (e.g. "
|
|
134
|
+
# Chain name (e.g. "tempo", "base").
|
|
135
135
|
source_chain:,
|
|
136
136
|
# The status of the wallet action.
|
|
137
137
|
status:,
|
|
@@ -18,6 +18,7 @@ module Privy
|
|
|
18
18
|
USDT = T.let(:usdt, Privy::WalletAsset::TaggedSymbol)
|
|
19
19
|
EURC = T.let(:eurc, Privy::WalletAsset::TaggedSymbol)
|
|
20
20
|
USDB = T.let(:usdb, Privy::WalletAsset::TaggedSymbol)
|
|
21
|
+
PATHUSD = T.let(:pathusd, Privy::WalletAsset::TaggedSymbol)
|
|
21
22
|
SOL = T.let(:sol, Privy::WalletAsset::TaggedSymbol)
|
|
22
23
|
TRX = T.let(:trx, Privy::WalletAsset::TaggedSymbol)
|
|
23
24
|
|
|
@@ -18,6 +18,7 @@ module Privy
|
|
|
18
18
|
USDT = T.let(:usdt, Privy::WalletEthereumAsset::TaggedSymbol)
|
|
19
19
|
EURC = T.let(:eurc, Privy::WalletEthereumAsset::TaggedSymbol)
|
|
20
20
|
USDB = T.let(:usdb, Privy::WalletEthereumAsset::TaggedSymbol)
|
|
21
|
+
PATHUSD = T.let(:pathusd, Privy::WalletEthereumAsset::TaggedSymbol)
|
|
21
22
|
|
|
22
23
|
sig do
|
|
23
24
|
override.returns(T::Array[Privy::WalletEthereumAsset::TaggedSymbol])
|
|
@@ -41,7 +41,7 @@ module Privy
|
|
|
41
41
|
sig { returns(T.nilable(Float)) }
|
|
42
42
|
attr_accessor :available_liquidity_usd
|
|
43
43
|
|
|
44
|
-
# CAIP-2 chain identifier (e.g. "eip155:8453").
|
|
44
|
+
# CAIP-2 chain identifier (e.g. "eip155:4217" for Tempo, "eip155:8453" for Base).
|
|
45
45
|
sig { returns(String) }
|
|
46
46
|
attr_accessor :caip2
|
|
47
47
|
|
|
@@ -99,7 +99,7 @@ module Privy
|
|
|
99
99
|
available_fees:,
|
|
100
100
|
# Available liquidity in USD.
|
|
101
101
|
available_liquidity_usd:,
|
|
102
|
-
# CAIP-2 chain identifier (e.g. "eip155:8453").
|
|
102
|
+
# CAIP-2 chain identifier (e.g. "eip155:4217" for Tempo, "eip155:8453" for Base).
|
|
103
103
|
caip2:,
|
|
104
104
|
# Human-readable vault name from the yield provider.
|
|
105
105
|
name:,
|
|
@@ -17,7 +17,7 @@ module Privy
|
|
|
17
17
|
attr_accessor :wallet_id
|
|
18
18
|
|
|
19
19
|
# The token contract address(es) to query in format "chain:address" (e.g.,
|
|
20
|
-
# "
|
|
20
|
+
# "tempo:0x20c000000000000000000000b9537d11c60e8b50" or
|
|
21
21
|
# "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"). Cannot be used together
|
|
22
22
|
# with `asset`/`chain` or with `include_currency`.
|
|
23
23
|
sig do
|
|
@@ -55,7 +55,7 @@ module Privy
|
|
|
55
55
|
end
|
|
56
56
|
attr_writer :asset
|
|
57
57
|
|
|
58
|
-
# Chain(s) to query named assets on (e.g. `
|
|
58
|
+
# Chain(s) to query named assets on (e.g. `tempo`, `base`). Use together with
|
|
59
59
|
# `asset`. Cannot be used with `token`.
|
|
60
60
|
sig do
|
|
61
61
|
returns(
|
|
@@ -130,14 +130,14 @@ module Privy
|
|
|
130
130
|
# ID of the wallet.
|
|
131
131
|
wallet_id:,
|
|
132
132
|
# The token contract address(es) to query in format "chain:address" (e.g.,
|
|
133
|
-
# "
|
|
133
|
+
# "tempo:0x20c000000000000000000000b9537d11c60e8b50" or
|
|
134
134
|
# "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"). Cannot be used together
|
|
135
135
|
# with `asset`/`chain` or with `include_currency`.
|
|
136
136
|
token: nil,
|
|
137
137
|
# Named asset(s) to query (e.g. `eth`, `usdc`). Use together with `chain` to scope
|
|
138
138
|
# the query. Cannot be used with `token`.
|
|
139
139
|
asset: nil,
|
|
140
|
-
# Chain(s) to query named assets on (e.g. `
|
|
140
|
+
# Chain(s) to query named assets on (e.g. `tempo`, `base`). Use together with
|
|
141
141
|
# `asset`. Cannot be used with `token`.
|
|
142
142
|
chain: nil,
|
|
143
143
|
# Include archived wallets in lookup. Defaults to false.
|
|
@@ -175,7 +175,7 @@ module Privy
|
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
# The token contract address(es) to query in format "chain:address" (e.g.,
|
|
178
|
-
# "
|
|
178
|
+
# "tempo:0x20c000000000000000000000b9537d11c60e8b50" or
|
|
179
179
|
# "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"). Cannot be used together
|
|
180
180
|
# with `asset`/`chain` or with `include_currency`.
|
|
181
181
|
module Token
|
|
@@ -246,6 +246,11 @@ module Privy
|
|
|
246
246
|
T.let(:eurc, Privy::Wallets::BalanceGetParams::Asset::TaggedSymbol)
|
|
247
247
|
USDB =
|
|
248
248
|
T.let(:usdb, Privy::Wallets::BalanceGetParams::Asset::TaggedSymbol)
|
|
249
|
+
PATHUSD =
|
|
250
|
+
T.let(
|
|
251
|
+
:pathusd,
|
|
252
|
+
Privy::Wallets::BalanceGetParams::Asset::TaggedSymbol
|
|
253
|
+
)
|
|
249
254
|
SOL =
|
|
250
255
|
T.let(:sol, Privy::Wallets::BalanceGetParams::Asset::TaggedSymbol)
|
|
251
256
|
TRX =
|
|
@@ -258,7 +263,7 @@ module Privy
|
|
|
258
263
|
)
|
|
259
264
|
end
|
|
260
265
|
|
|
261
|
-
# Chain(s) to query named assets on (e.g. `
|
|
266
|
+
# Chain(s) to query named assets on (e.g. `tempo`, `base`). Use together with
|
|
262
267
|
# `asset`. Cannot be used with `token`.
|
|
263
268
|
module Chain
|
|
264
269
|
extend Privy::Internal::Type::Union
|
|
@@ -181,6 +181,11 @@ module Privy
|
|
|
181
181
|
:usdb,
|
|
182
182
|
Privy::Models::Wallets::BalanceGetResponse::Balance::Asset::TaggedSymbol
|
|
183
183
|
)
|
|
184
|
+
PATHUSD =
|
|
185
|
+
T.let(
|
|
186
|
+
:pathusd,
|
|
187
|
+
Privy::Models::Wallets::BalanceGetResponse::Balance::Asset::TaggedSymbol
|
|
188
|
+
)
|
|
184
189
|
SOL =
|
|
185
190
|
T.let(
|
|
186
191
|
:sol,
|
|
@@ -16,7 +16,7 @@ module Privy
|
|
|
16
16
|
sig { returns(String) }
|
|
17
17
|
attr_accessor :id
|
|
18
18
|
|
|
19
|
-
# EVM chain name (e.g. "
|
|
19
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
20
20
|
sig { returns(String) }
|
|
21
21
|
attr_accessor :chain
|
|
22
22
|
|
|
@@ -112,7 +112,7 @@ module Privy
|
|
|
112
112
|
def self.new(
|
|
113
113
|
# The ID of the wallet action.
|
|
114
114
|
id:,
|
|
115
|
-
# EVM chain name (e.g. "
|
|
115
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
116
116
|
chain:,
|
|
117
117
|
# ISO 8601 timestamp of when the wallet action was created.
|
|
118
118
|
created_at:,
|