Class: Privy::Models::Wallets::SvmTransactionWalletActionStep
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::Wallets::SvmTransactionWalletActionStep
- Defined in:
- lib/privy/models/wallets/svm_transaction_wallet_action_step.rb,
sig/privy/models/wallets/svm_transaction_wallet_action_step.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#caip2 ⇒ String
CAIP-2 chain identifier for the Solana network.
-
#failure_reason ⇒ Privy::Models::Wallets::FailureReason?
A description of why a wallet action (or a step within a wallet action) failed.
-
#finalized ⇒ Boolean?
Whether this step has reached on-chain finality.
-
#gas_credits_charged_usd ⇒ String?
Amount charged in USD for gas sponsorship on this step.
-
#status ⇒ Symbol, Privy::Models::Wallets::SvmWalletActionStepStatus
Status of an SVM step in a wallet action.
-
#transaction_signature ⇒ String?
The Solana transaction signature (base58-encoded).
- #type ⇒ Symbol, Privy::Models::Wallets::SvmTransactionWalletActionStep::Type
Instance Method Summary collapse
-
#initialize(caip2:, status:, transaction_signature:, type:, failure_reason: nil, finalized: nil, gas_credits_charged_usd: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see SvmTransactionWalletActionStep for more details.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(caip2:, status:, transaction_signature:, type:, failure_reason: nil, finalized: nil, gas_credits_charged_usd: nil) ⇒ Object
Some parameter documentations has been truncated, see Privy::Models::Wallets::SvmTransactionWalletActionStep for more details.
A wallet action step consisting of an SVM (Solana) transaction.
|
|
# File 'lib/privy/models/wallets/svm_transaction_wallet_action_step.rb', line 49
|
Instance Attribute Details
#caip2 ⇒ String
CAIP-2 chain identifier for the Solana network.
11 |
# File 'lib/privy/models/wallets/svm_transaction_wallet_action_step.rb', line 11 required :caip2, String |
#failure_reason ⇒ Privy::Models::Wallets::FailureReason?
A description of why a wallet action (or a step within a wallet action) failed.
34 |
# File 'lib/privy/models/wallets/svm_transaction_wallet_action_step.rb', line 34 optional :failure_reason, -> { Privy::Wallets::FailureReason } |
#finalized ⇒ Boolean?
Whether this step has reached on-chain finality. Absent until finality is confirmed.
41 |
# File 'lib/privy/models/wallets/svm_transaction_wallet_action_step.rb', line 41 optional :finalized, Privy::Internal::Type::Boolean |
#gas_credits_charged_usd ⇒ String?
Amount charged in USD for gas sponsorship on this step.
47 |
# File 'lib/privy/models/wallets/svm_transaction_wallet_action_step.rb', line 47 optional :gas_credits_charged_usd, String |
#status ⇒ Symbol, Privy::Models::Wallets::SvmWalletActionStepStatus
Status of an SVM step in a wallet action.
17 |
# File 'lib/privy/models/wallets/svm_transaction_wallet_action_step.rb', line 17 required :status, enum: -> { Privy::Wallets::SvmWalletActionStepStatus } |
#transaction_signature ⇒ String?
The Solana transaction signature (base58-encoded). Null until broadcast.
23 |
# File 'lib/privy/models/wallets/svm_transaction_wallet_action_step.rb', line 23 required :transaction_signature, String, nil?: true |
#type ⇒ Symbol, Privy::Models::Wallets::SvmTransactionWalletActionStep::Type
28 |
# File 'lib/privy/models/wallets/svm_transaction_wallet_action_step.rb', line 28 required :type, enum: -> { Privy::Wallets::SvmTransactionWalletActionStep::Type } |
Instance Method Details
#to_hash ⇒ {
48 |
# File 'sig/privy/models/wallets/svm_transaction_wallet_action_step.rbs', line 48
def to_hash: -> {
|