Skip to content

Commit c9f9874

Browse files
authored
Merge pull request #225 from hypercerts-org/feat/expose-sales-currency-amount
feat: expose sales currency amount
2 parents 1f43906 + d3e0dd5 commit c9f9874

File tree

3 files changed

+799
-787
lines changed

3 files changed

+799
-787
lines changed

schema.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,7 @@ type Sale {
942942

943943
"""The address of the token accepted for this order"""
944944
currency: String!
945+
currency_amount: EthBigInt!
945946

946947
"""The hypercert associated with this order"""
947948
hypercert: HypercertBaseType

src/graphql/schemas/typeDefs/salesTypeDefs.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ class Sale extends BasicTypeDef {
5555
description: "The hypercert associated with this order",
5656
})
5757
hypercert?: HypercertBaseType;
58+
59+
@Field(() => EthBigInt)
60+
currency_amount?: bigint | number | string;
5861
}
5962

6063
export { Sale };

0 commit comments

Comments
 (0)