Class: GasfreeSdk::Models::Asset

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/gasfree_sdk/models/gas_free_address.rb

Overview

Represents an asset in a GasFree account

Instance Attribute Summary collapse

Instance Attribute Details

#activate_feeString (readonly)

Returns The activation fee in the smallest unit.

Returns:

  • (String)

    The activation fee in the smallest unit



19
# File 'lib/gasfree_sdk/models/gas_free_address.rb', line 19

attribute :activate_fee, Types::Amount

#decimalInteger (readonly)

Returns The token’s decimal places.

Returns:

  • (Integer)

    The token’s decimal places



27
# File 'lib/gasfree_sdk/models/gas_free_address.rb', line 27

attribute :decimal, Types::Integer.constrained(gteq: 0)

#frozenString (readonly)

Returns Amount currently frozen in pending transfers.

Returns:

  • (String)

    Amount currently frozen in pending transfers



31
# File 'lib/gasfree_sdk/models/gas_free_address.rb', line 31

attribute :frozen, Types::Amount

#token_addressString (readonly)

Returns The token contract address.

Returns:

  • (String)

    The token contract address



11
# File 'lib/gasfree_sdk/models/gas_free_address.rb', line 11

attribute :token_address, Types::Address

#token_symbolString (readonly)

Returns The token symbol.

Returns:

  • (String)

    The token symbol



15
# File 'lib/gasfree_sdk/models/gas_free_address.rb', line 15

attribute :token_symbol, Types::String

#transfer_feeString (readonly)

Returns The transfer fee in the smallest unit.

Returns:

  • (String)

    The transfer fee in the smallest unit



23
# File 'lib/gasfree_sdk/models/gas_free_address.rb', line 23

attribute :transfer_fee, Types::Amount