Class: GasfreeSdk::Models::Asset
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GasfreeSdk::Models::Asset
- Defined in:
- lib/gasfree_sdk/models/gas_free_address.rb
Overview
Represents an asset in a GasFree account
Instance Attribute Summary collapse
-
#activate_fee ⇒ String
readonly
The activation fee in the smallest unit.
-
#decimal ⇒ Integer
readonly
The token’s decimal places.
-
#frozen ⇒ String
readonly
Amount currently frozen in pending transfers.
-
#token_address ⇒ String
readonly
The token contract address.
-
#token_symbol ⇒ String
readonly
The token symbol.
-
#transfer_fee ⇒ String
readonly
The transfer fee in the smallest unit.
Instance Attribute Details
#activate_fee ⇒ String (readonly)
Returns The activation fee in the smallest unit.
19 |
# File 'lib/gasfree_sdk/models/gas_free_address.rb', line 19 attribute :activate_fee, Types::Amount |
#decimal ⇒ Integer (readonly)
Returns The token’s decimal places.
27 |
# File 'lib/gasfree_sdk/models/gas_free_address.rb', line 27 attribute :decimal, Types::Integer.constrained(gteq: 0) |
#frozen ⇒ String (readonly)
Returns Amount currently frozen in pending transfers.
31 |
# File 'lib/gasfree_sdk/models/gas_free_address.rb', line 31 attribute :frozen, Types::Amount |
#token_address ⇒ String (readonly)
Returns The token contract address.
11 |
# File 'lib/gasfree_sdk/models/gas_free_address.rb', line 11 attribute :token_address, Types::Address |
#token_symbol ⇒ String (readonly)
Returns The token symbol.
15 |
# File 'lib/gasfree_sdk/models/gas_free_address.rb', line 15 attribute :token_symbol, Types::String |