Skip to content
martiliones edited this page Jun 12, 2023 · 1 revision

Api: Types

MessageType

Message type

  • Type

    enum MessageType {
      basic = "basic",
      rich = "rich",
      signal = "signal",
    }

AddressObject

  • Type

    interface AddressObject {
      address: string;
    }

PublicKeyObject

  • Type

    interface PublicKeyObject {
      publicKey: string;
    }

UsernameObject

  • Type

    interface UsernameObject {
      username: string;
    }

AddressOrPublicKeyObject

Object that contains either address or publicKey field

TransactionQuery

  • Type

    type TransactionQuery = { and: T; or: T } & T;

UsernameOrPublicKeyObject