Libticketto
    Preparing search index...

    Module @ticketto/types

    Ticketto types

    A collection of some types the Ticketto protocol uses.

    This library describes the different types used across the Ticketto protocol specification. We divided this library into several modules:

    • Account: Contains the definitions of accounts; accounts identify the actors across the protocol: holders, issuers, and escrow either publicly, privately on applications (like Kippu), or anonymously.
    • Events: Contains the definition of an event and information that helps to understand how to issue tickets.
    • Issuer: Contains definitions about accounts that can create new ticket instances based on an existing event.
    • Orders: Contains definitions about a sale/resale order.
    • Primitives: Contains standard primitive definitions of data used on other modules.
    • Products: Contain generic definitions of products to allow wrapping tickets into commerce APIs.
    • Storage:
    • Tickets:

    Install via NPM package Our NPM package including all supported languages can be installed with NPM or Yarn:

    npm install @ticketto/types
    # or
    yarn add @ticketto/types

    Alternatively, you can build the NPM package from source.

    The current source code is always available on GitHub.

    Ticketto is released under the BSD License. See our LICENSE file for details.

    Enumerations

    AttendancePolicyType
    EventState

    Type Aliases

    Account
    AccountBalance
    AccountId
    AccountIdentity
    AssetBalance
    AssetCode
    AssetId
    AttendancePolicy
    Balance
    BlockNumber
    CID
    DateRange
    Event
    EventId
    EventMetadata
    FileContent
    FileLike
    FileLocation
    Get
    HexString
    IdentityAdditionalField
    LineItem
    LineItemPrice
    Metadata
    Order
    Ticket
    TicketClass
    TicketClassId
    TicketId
    TicketMetadata
    TicketRestrictions
    Timestamp

    References

    EventStatus → EventState