Class: Privy::Models::GasSpendRequestBody
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::GasSpendRequestBody
- Defined in:
- lib/privy/models/gas_spend_request_body.rb
Instance Attribute Summary collapse
-
#end_timestamp ⇒ Float
Unix timestamp in milliseconds, exclusive.
-
#start_timestamp ⇒ Float
Unix timestamp in milliseconds, inclusive.
-
#wallet_ids ⇒ Array<String>
List of wallet IDs to query gas spend for.
Instance Method Summary collapse
-
#initialize(end_timestamp:, start_timestamp:, wallet_ids:) ⇒ Object
constructor
Some parameter documentations has been truncated, see GasSpendRequestBody 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(end_timestamp:, start_timestamp:, wallet_ids:) ⇒ Object
Some parameter documentations has been truncated, see Privy::Models::GasSpendRequestBody for more details.
Query parameters for getting gas spend for a set of wallets. The time range from ‘start_timestamp` to `end_timestamp` must not exceed 30 days.
|
|
# File 'lib/privy/models/gas_spend_request_body.rb', line 28
|
Instance Attribute Details
#end_timestamp ⇒ Float
Unix timestamp in milliseconds, exclusive. Must be greater than or equal to ‘start_timestamp`, and the range from `start_timestamp` to `end_timestamp` must not exceed 30 days.
12 |
# File 'lib/privy/models/gas_spend_request_body.rb', line 12 required :end_timestamp, Float |
#start_timestamp ⇒ Float
Unix timestamp in milliseconds, inclusive. Must be less than or equal to ‘end_timestamp`, and the range from `start_timestamp` to `end_timestamp` must not exceed 30 days.
20 |
# File 'lib/privy/models/gas_spend_request_body.rb', line 20 required :start_timestamp, Float |