Class: GasfreeSdk::Models::GasFreeAddress

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

Overview

Represents a GasFree account

Instance Attribute Summary collapse

Instance Attribute Details

#account_addressString (readonly)

Returns The user’s EOA address.

Returns:

  • (String)

    The user’s EOA address



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

attribute :account_address, Types::Address

#activeBoolean (readonly)

Returns Whether the account is activated.

Returns:

  • (Boolean)

    Whether the account is activated



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

attribute :active, Types::Bool

#allow_submitBoolean (readonly)

Returns Whether new transfers can be submitted.

Returns:

  • (Boolean)

    Whether new transfers can be submitted



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

attribute :allow_submit, Types::Bool

#assetsArray<Asset> (readonly)

Returns List of assets in the account.

Returns:

  • (Array<Asset>)

    List of assets in the account



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

attribute :assets, Types::Array.of(Asset)

#gas_free_addressString (readonly)

Returns The GasFree account address.

Returns:

  • (String)

    The GasFree account address



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

attribute :gas_free_address, Types::Address

#nonceInteger (readonly)

Returns The recommended nonce for the next transfer.

Returns:

  • (Integer)

    The recommended nonce for the next transfer



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

attribute :nonce, Types::Nonce