Class: Privy::Models::Wallets::TvmTransactionWalletActionStep
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::Wallets::TvmTransactionWalletActionStep
- Defined in:
- lib/privy/models/wallets/tvm_transaction_wallet_action_step.rb,
sig/privy/models/wallets/tvm_transaction_wallet_action_step.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#caip2 ⇒ String
CAIP-2 chain identifier for the Tron network.
-
#failure_reason ⇒ Privy::Models::Wallets::FailureReason?
A description of why a wallet action (or a step within a wallet action) failed.
-
#status ⇒ Symbol, Privy::Models::Wallets::TvmWalletActionStepStatus
Status of a TVM (Tron) step in a wallet action.
-
#transaction_id ⇒ String?
The Tron transaction ID.
- #type ⇒ Symbol, Privy::Models::Wallets::TvmTransactionWalletActionStep::Type
Instance Method Summary collapse
-
#initialize(caip2:, status:, transaction_id:, type:, failure_reason: nil) ⇒ Object
constructor
A wallet action step consisting of a TVM (Tron) transaction.
- #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_id:, type:, failure_reason: nil) ⇒ Object
A wallet action step consisting of a TVM (Tron) transaction.
|
|
# File 'lib/privy/models/wallets/tvm_transaction_wallet_action_step.rb', line 36
|
Instance Attribute Details
#caip2 ⇒ String
CAIP-2 chain identifier for the Tron network.
11 |
# File 'lib/privy/models/wallets/tvm_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/tvm_transaction_wallet_action_step.rb', line 34 optional :failure_reason, -> { Privy::Wallets::FailureReason } |
#status ⇒ Symbol, Privy::Models::Wallets::TvmWalletActionStepStatus
Status of a TVM (Tron) step in a wallet action.
17 |
# File 'lib/privy/models/wallets/tvm_transaction_wallet_action_step.rb', line 17 required :status, enum: -> { Privy::Wallets::TvmWalletActionStepStatus } |
#transaction_id ⇒ String?
The Tron transaction ID. Null until broadcast.
23 |
# File 'lib/privy/models/wallets/tvm_transaction_wallet_action_step.rb', line 23 required :transaction_id, String, nil?: true |
#type ⇒ Symbol, Privy::Models::Wallets::TvmTransactionWalletActionStep::Type
28 |
# File 'lib/privy/models/wallets/tvm_transaction_wallet_action_step.rb', line 28 required :type, enum: -> { Privy::Wallets::TvmTransactionWalletActionStep::Type } |
Instance Method Details
#to_hash ⇒ {
36 |
# File 'sig/privy/models/wallets/tvm_transaction_wallet_action_step.rbs', line 36
def to_hash: -> {
|