Class: Privy::Models::UserOperationInput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::UserOperationInput
- Defined in:
- lib/privy/models/user_operation_input.rb
Instance Attribute Summary collapse
-
#call_data ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
-
#call_gas_limit ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
-
#max_fee_per_gas ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
-
#max_priority_fee_per_gas ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
-
#nonce ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
- #paymaster ⇒ String?
-
#paymaster_data ⇒ String?
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
-
#paymaster_post_op_gas_limit ⇒ String?
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
-
#paymaster_verification_gas_limit ⇒ String?
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
-
#pre_verification_gas ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
- #sender ⇒ String
-
#verification_gas_limit ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
Instance Method Summary collapse
-
#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) ⇒ Object
constructor
Some parameter documentations has been truncated, see UserOperationInput for more details.
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(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) ⇒ Object
Some parameter documentations has been truncated, see Privy::Models::UserOperationInput for more details.
An ERC-4337 user operation.
|
|
# File 'lib/privy/models/user_operation_input.rb', line 86
|
Instance Attribute Details
#call_data ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
11 |
# File 'lib/privy/models/user_operation_input.rb', line 11 required :call_data, String |
#call_gas_limit ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
18 |
# File 'lib/privy/models/user_operation_input.rb', line 18 required :call_gas_limit, String |
#max_fee_per_gas ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
25 |
# File 'lib/privy/models/user_operation_input.rb', line 25 required :max_fee_per_gas, String |
#max_priority_fee_per_gas ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
32 |
# File 'lib/privy/models/user_operation_input.rb', line 32 required :max_priority_fee_per_gas, String |
#nonce ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
39 |
# File 'lib/privy/models/user_operation_input.rb', line 39 required :nonce, String |
#paymaster ⇒ String?
63 |
# File 'lib/privy/models/user_operation_input.rb', line 63 optional :paymaster, String |
#paymaster_data ⇒ String?
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
70 |
# File 'lib/privy/models/user_operation_input.rb', line 70 optional :paymaster_data, String |
#paymaster_post_op_gas_limit ⇒ String?
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
77 |
# File 'lib/privy/models/user_operation_input.rb', line 77 optional :paymaster_post_op_gas_limit, String |
#paymaster_verification_gas_limit ⇒ String?
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
84 |
# File 'lib/privy/models/user_operation_input.rb', line 84 optional :paymaster_verification_gas_limit, String |
#pre_verification_gas ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
46 |
# File 'lib/privy/models/user_operation_input.rb', line 46 required :pre_verification_gas, String |
#sender ⇒ String
51 |
# File 'lib/privy/models/user_operation_input.rb', line 51 required :sender, String |
#verification_gas_limit ⇒ String
A hex-encoded string prefixed with ‘0x’, capped at 100002 characters (50,000 bytes).
58 |
# File 'lib/privy/models/user_operation_input.rb', line 58 required :verification_gas_limit, String |