Class: GasfreeSdk::Models::Token
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GasfreeSdk::Models::Token
- Defined in:
- lib/gasfree_sdk/models/token.rb
Overview
Represents a token supported by GasFree
Instance Attribute Summary collapse
-
#activate_fee ⇒ String
readonly
The activation fee in the smallest unit of the token.
-
#created_at ⇒ Time
readonly
When the token was added to GasFree.
-
#decimal ⇒ Integer
readonly
The token’s decimal places.
-
#supported ⇒ Boolean
readonly
Whether the token is currently supported.
-
#symbol ⇒ String
readonly
The token symbol (e.g., “USDT”).
-
#token_address ⇒ String
readonly
The token contract address.
-
#transfer_fee ⇒ String
readonly
The transfer fee in the smallest unit of the token.
-
#updated_at ⇒ Time
readonly
When the token was last updated.
Instance Attribute Details
#activate_fee ⇒ String (readonly)
Returns The activation fee in the smallest unit of the token.
23 |
# File 'lib/gasfree_sdk/models/token.rb', line 23 attribute :activate_fee, Types::String |
#created_at ⇒ Time (readonly)
Returns When the token was added to GasFree.
15 |
# File 'lib/gasfree_sdk/models/token.rb', line 15 attribute :created_at, Types::Time |
#decimal ⇒ Integer (readonly)
Returns The token’s decimal places.
39 |
# File 'lib/gasfree_sdk/models/token.rb', line 39 attribute :decimal, Types::Integer.constrained(gteq: 0) |
#supported ⇒ Boolean (readonly)
Returns Whether the token is currently supported.
31 |
# File 'lib/gasfree_sdk/models/token.rb', line 31 attribute :supported, Types::Bool |
#symbol ⇒ String (readonly)
Returns The token symbol (e.g., “USDT”).
35 |
# File 'lib/gasfree_sdk/models/token.rb', line 35 attribute :symbol, Types::String |
#token_address ⇒ String (readonly)
Returns The token contract address.
11 |
# File 'lib/gasfree_sdk/models/token.rb', line 11 attribute :token_address, Types::Address |
#transfer_fee ⇒ String (readonly)
Returns The transfer fee in the smallest unit of the token.
27 |
# File 'lib/gasfree_sdk/models/token.rb', line 27 attribute :transfer_fee, Types::String |
#updated_at ⇒ Time (readonly)
Returns When the token was last updated.
19 |
# File 'lib/gasfree_sdk/models/token.rb', line 19 attribute :updated_at, Types::Time |