Skip to content

Commit

Permalink
Merge pull request #225 from hypercerts-org/feat/expose-sales-currenc…
Browse files Browse the repository at this point in the history
…y-amount

feat: expose sales currency amount
  • Loading branch information
bitbeckers authored Jan 28, 2025
2 parents 1f43906 + d3e0dd5 commit c9f9874
Show file tree
Hide file tree
Showing 3 changed files with 799 additions and 787 deletions.
1 change: 1 addition & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ type Sale {

"""The address of the token accepted for this order"""
currency: String!
currency_amount: EthBigInt!

"""The hypercert associated with this order"""
hypercert: HypercertBaseType
Expand Down
3 changes: 3 additions & 0 deletions src/graphql/schemas/typeDefs/salesTypeDefs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ class Sale extends BasicTypeDef {
description: "The hypercert associated with this order",
})
hypercert?: HypercertBaseType;

@Field(() => EthBigInt)
currency_amount?: bigint | number | string;
}

export { Sale };
Loading

0 comments on commit c9f9874

Please sign in to comment.