Project Non-Marketplace Activity & History

For all actions that take place not related to a marketplace (e.g. Minting, Staking, Loans)
To further support aggregating all non market place related activity we have decided to split this out from project history.
Note: Currently we only support "MINT", Staking is coming soon
Function: getNonMpaProjectHistory
Inputs:
Condition Inputs:
  • [Required] projects
    • Type: ProjectIdWithAttributes[]
    • Description: Projects to query against
    • Note: Supports attribute filtering for only a single collection
    • Example:
    • [
      {
      project_id: "degenape",
      }
      ]
      [
      {
      project_id: "degenape",
      attributes: [{name: "Clothing", type: "CATEGORY", values: ["Maid's Uniform"]}]
      }
      ]
  • [Required] nonMpaActionTypes
    • Type: NonMarketplaceActionEnums[]
    • Description: Non market place actions
    • Example:
    • [
      "MINT"
      ]
Example
const hsClient = new HyperspaceClient(API_KEY);
hsClient.getNonMpaProjectHistory({
condition: {
projects: [{project_id: "degods"}],
nonMpaActionTypes: ["MINT"] as NonMarketplaceActionEnums[]
},
paginationInfo: {
page_number: 1,
page_size: 30
}
}).then(result => console.log(result.getNonMpaProjectHistory.market_place_snapshots));