Structures

The following structures are available globally.

  • Class used to represent a specific amount of a certain asset

    See more

    Declaration

    Swift

    public struct AssetAmount : ECHOCodable, Decodable
  • Represents contract_object from blockchain

    See more

    Declaration

    Swift

    public struct Contract : ECHOObject, Decodable
  • Represents Contract History object from blockchain

    See more

    Declaration

    Swift

    public struct ContractHistory : ECHOObject, Decodable
  • Undocumented

    See more

    Declaration

    Swift

    public struct ContractInfo : ECHOObject, Decodable
  • Represents Contract Log object from blockchain

    See more

    Declaration

    Swift

    public struct ContractLog : Decodable
  • Model of contract operation result for VM type Etherium

    See more

    Declaration

    Swift

    public struct ContractResultEVM : Decodable
  • Information about operation executing

    See more

    Declaration

    Swift

    public struct ExecRes : Decodable
  • Information about transaction

    See more

    Declaration

    Swift

    public struct TrReceipt : Decodable
  • Log

    Information about log

    See more

    Declaration

    Swift

    public struct Log : Decodable
  • Model of contract operation result for VM type x86

    See more

    Declaration

    Swift

    public struct ContractResultx86 : Decodable
  • The Base58 encoding used is home made, and has some differences. Especially, leading zeroes are kept as single zeroes when conversion happens.

    See more

    Declaration

    Swift

    public struct Base58
  • Undocumented

    See more

    Declaration

    Swift

    public struct DepositEth : ECHOObject, Decodable
  • Undocumented

    See more

    Declaration

    Swift

    public struct EthAddress : ECHOObject, Decodable
  • Undocumented

    See more

    Declaration

    Swift

    public struct WithdrawalEth : ECHOObject, Decodable
  • This struct encapsulates single history item

    See more

    Declaration

    Swift

    public struct HistoryItem : Decodable
  • Container template class used whenever we have an optional field.

    The idea here is that the binary serialization of this field should be performed in a specific way determined by the field implementing the {@link ByteSerializable} interface, more specifically using the {@link ByteSerializable#toBytes()} method.

    However, if the field is missing, the Optional class should be able to know how to serialize it, as this is always done by placing an zero byte.

    See more

    Declaration

    Swift

    public struct OptionalValue<T> : ECHOCodable where T : ECHOCodable
  • Represents Options in Graphene blockchain

    See more

    Declaration

    Swift

    public struct Options : Decodable
  • The price struct stores asset prices in the Graphene system.

    A price is defined as a ratio between two assets, and represents a possible exchange rate between those two assets. prices are generally not stored in any simplified form, i.e. a price of (1000 CORE)/(20 USD) is perfectly normal.

    The assets within a price are labeled base and quote. Throughout the Graphene code base, the convention used is that the base asset is the asset being sold, and the quote asset is the asset being purchased, where the price is represented as base/quote, so in the example price above the seller is looking to sell CORE asset and get USD in return.

    Note

    Taken from the Graphene doxygen.
    See more

    Declaration

    Swift

    public struct Price : ECHOCodable, Decodable
  • Represents Statistics in Graphene blockchain

    See more

    Declaration

    Swift

    public struct Statistics : ECHOObject, Decodable
  • Represents full information about user account

    See more

    Declaration

    Swift

    public struct UserAccount : Decodable
  • Undocumented

    Declaration

    Swift

    public struct AssetsServices
  • Services for TransactionFacade

    Declaration

    Swift

    public struct EthFacadeServices
  • Services for FeeFacade

    Declaration

    Swift

    public struct FeeFacadeServices
  • The class that is used by the API library.

    API

    1. Database API
    2. Account History API
    3. Crypto API
    4. Network Broadcast API
    5. Network Nodes API
    See more

    Declaration

    Swift

    public struct APIOption : OptionSet