Type alias HistoricalAsset

HistoricalAsset: {
    __typename?: "HistoricalAsset";
    accountId?: Maybe<Scalars["String"]>;
    assetId: Scalars["String"];
    blockNumber: Scalars["Int"];
    dAmountInPool?: Maybe<Scalars["BigInt"]>;
    dPrice?: Maybe<Scalars["Float"]>;
    event: Scalars["String"];
    id: Scalars["String"];
    newAmountInPool?: Maybe<Scalars["BigInt"]>;
    newPrice?: Maybe<Scalars["Float"]>;
    timestamp: Scalars["DateTime"];
    ztgTraded?: Maybe<Scalars["BigInt"]>;
}

A type that records the price history of an outcome asset and trade history of an account

Type declaration

  • Optional __typename?: "HistoricalAsset"
  • Optional accountId?: Maybe<Scalars["String"]>

    Account which executed the trade

  • assetId: Scalars["String"]

    Zeitgeist's identifier for asset

  • blockNumber: Scalars["Int"]

    Height of the block

  • Optional dAmountInPool?: Maybe<Scalars["BigInt"]>

    Units of asset user bought (-ve) or sold (+ve)

  • Optional dPrice?: Maybe<Scalars["Float"]>

    Price of the asset has decreased if -ve and +ve if increased

  • event: Scalars["String"]

    Event method which initiated this change

  • id: Scalars["String"]

    Unique identifier of the object

  • Optional newAmountInPool?: Maybe<Scalars["BigInt"]>

    Units of asset present in the pool account

  • Optional newPrice?: Maybe<Scalars["Float"]>

    Price of the asset after trade execution/market resolution

  • timestamp: Scalars["DateTime"]

    Timestamp of the block

  • Optional ztgTraded?: Maybe<Scalars["BigInt"]>

    Amount of ZTG which user spent/redeemed for swap trade

Generated using TypeDoc