Class: Privy::Models::EthereumSignTransactionRpcInputParams

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/ethereum_sign_transaction_rpc_input_params.rb,
sig/privy/models/ethereum_sign_transaction_rpc_input_params.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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(transaction:) ⇒ Object

Some parameter documentations has been truncated, see Privy::Models::EthereumSignTransactionRpcInputParams for more details.

Parameters for the EVM eth_signTransaction RPC.

Parameters:



# File 'lib/privy/models/ethereum_sign_transaction_rpc_input_params.rb', line 13

Instance Attribute Details

#transactionPrivy::Models::UnsignedStandardEthereumTransaction, Privy::Models::UnsignedTempoTransaction

An unsigned Ethereum transaction object. Supports standard EVM transaction types (0, 1, 2, 4) and Tempo transactions (type 118).

Parameters:

  • value (Privy::Models::unsigned_ethereum_transaction)

Returns:



11
# File 'lib/privy/models/ethereum_sign_transaction_rpc_input_params.rb', line 11

required :transaction, union: -> { Privy::UnsignedEthereumTransaction }

Instance Method Details

#to_hash{

Returns:

  • ({)


13
# File 'sig/privy/models/ethereum_sign_transaction_rpc_input_params.rbs', line 13

def to_hash: -> {