Skip to content

Commit d3e0dd5

Browse files
committed
feat: expose sales currency amount
1 parent 8241c33 commit d3e0dd5

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
@@ -918,6 +918,7 @@ type Sale {
918918

919919
"""The address of the token accepted for this order"""
920920
currency: String!
921+
currency_amount: EthBigInt!
921922

922923
"""The hypercert associated with this order"""
923924
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)