@@ -798,6 +798,8 @@ export type Query = {
798798 * At least one of accountName, fungibleName, blockHash, or requestKey must be provided.
799799 */
800800 transactions : QueryTransactionsConnection ;
801+ /** Retrieve all transactions by a given pact code. */
802+ transactionsByPactCode : QueryTransactionsByPactCodeConnection ;
801803 /** Retrieve all transactions by a given public key. */
802804 transactionsByPublicKey : QueryTransactionsByPublicKeyConnection ;
803805 /** Retrieve transfers. Default page size is 20. */
@@ -998,6 +1000,14 @@ export type QueryTransactionsArgs = {
9981000 requestKey ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
9991001} ;
10001002
1003+ export type QueryTransactionsByPactCodeArgs = {
1004+ after ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1005+ before ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
1006+ first ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
1007+ last ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
1008+ pactCode : Scalars [ 'String' ] [ 'input' ] ;
1009+ } ;
1010+
10011011export type QueryTransactionsByPublicKeyArgs = {
10021012 after ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
10031013 before ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
@@ -1108,6 +1118,18 @@ export type QueryTokensEdge = {
11081118 node : Token ;
11091119} ;
11101120
1121+ export type QueryTransactionsByPactCodeConnection = {
1122+ __typename ?: 'QueryTransactionsByPactCodeConnection' ;
1123+ edges : Array < QueryTransactionsByPactCodeConnectionEdge > ;
1124+ pageInfo : PageInfo ;
1125+ } ;
1126+
1127+ export type QueryTransactionsByPactCodeConnectionEdge = {
1128+ __typename ?: 'QueryTransactionsByPactCodeConnectionEdge' ;
1129+ cursor : Scalars [ 'String' ] [ 'output' ] ;
1130+ node : TransactionSummary ;
1131+ } ;
1132+
11111133export type QueryTransactionsByPublicKeyConnection = {
11121134 __typename ?: 'QueryTransactionsByPublicKeyConnection' ;
11131135 edges : Array < QueryTransactionsByPublicKeyConnectionEdge > ;
@@ -1377,6 +1399,19 @@ export type TransactionSignature = {
13771399 sig : Scalars [ 'String' ] [ 'output' ] ;
13781400} ;
13791401
1402+ export type TransactionSummary = {
1403+ __typename ?: 'TransactionSummary' ;
1404+ canonical : Scalars [ 'Boolean' ] [ 'output' ] ;
1405+ chainId : Scalars [ 'String' ] [ 'output' ] ;
1406+ creationTime : Scalars [ 'String' ] [ 'output' ] ;
1407+ gas : Scalars [ 'String' ] [ 'output' ] ;
1408+ gasLimit : Scalars [ 'String' ] [ 'output' ] ;
1409+ gasPrice : Scalars [ 'String' ] [ 'output' ] ;
1410+ height : Scalars [ 'String' ] [ 'output' ] ;
1411+ requestKey : Scalars [ 'String' ] [ 'output' ] ;
1412+ sender : Scalars [ 'String' ] [ 'output' ] ;
1413+ } ;
1414+
13801415/** A transfer of funds from a fungible between two accounts. */
13811416export type Transfer = Node & {
13821417 __typename ?: 'Transfer' ;
@@ -1779,6 +1814,8 @@ export type ResolversTypes = {
17791814 QueryPoolsConnectionEdge : ResolverTypeWrapper < QueryPoolsConnectionEdge > ;
17801815 QueryTokensConnection : ResolverTypeWrapper < QueryTokensConnection > ;
17811816 QueryTokensEdge : ResolverTypeWrapper < QueryTokensEdge > ;
1817+ QueryTransactionsByPactCodeConnection : ResolverTypeWrapper < QueryTransactionsByPactCodeConnection > ;
1818+ QueryTransactionsByPactCodeConnectionEdge : ResolverTypeWrapper < QueryTransactionsByPactCodeConnectionEdge > ;
17821819 QueryTransactionsByPublicKeyConnection : ResolverTypeWrapper <
17831820 Omit < QueryTransactionsByPublicKeyConnection , 'edges' > & {
17841821 edges : Array < ResolversTypes [ 'QueryTransactionsByPublicKeyConnectionEdge' ] > ;
@@ -1856,6 +1893,7 @@ export type ResolversTypes = {
18561893 Omit < TransactionResultTransfersConnectionEdge , 'node' > & { node : ResolversTypes [ 'Transfer' ] }
18571894 > ;
18581895 TransactionSignature : ResolverTypeWrapper < TransactionSignature > ;
1896+ TransactionSummary : ResolverTypeWrapper < TransactionSummary > ;
18591897 Transfer : ResolverTypeWrapper <
18601898 Omit < Transfer , 'block' | 'crossChainTransfer' | 'transaction' > & {
18611899 block : ResolversTypes [ 'Block' ] ;
@@ -2047,6 +2085,8 @@ export type ResolversParentTypes = {
20472085 QueryPoolsConnectionEdge : QueryPoolsConnectionEdge ;
20482086 QueryTokensConnection : QueryTokensConnection ;
20492087 QueryTokensEdge : QueryTokensEdge ;
2088+ QueryTransactionsByPactCodeConnection : QueryTransactionsByPactCodeConnection ;
2089+ QueryTransactionsByPactCodeConnectionEdge : QueryTransactionsByPactCodeConnectionEdge ;
20502090 QueryTransactionsByPublicKeyConnection : Omit < QueryTransactionsByPublicKeyConnection , 'edges' > & {
20512091 edges : Array < ResolversParentTypes [ 'QueryTransactionsByPublicKeyConnectionEdge' ] > ;
20522092 } ;
@@ -2105,6 +2145,7 @@ export type ResolversParentTypes = {
21052145 'node'
21062146 > & { node : ResolversParentTypes [ 'Transfer' ] } ;
21072147 TransactionSignature : TransactionSignature ;
2148+ TransactionSummary : TransactionSummary ;
21082149 Transfer : Omit < Transfer , 'block' | 'crossChainTransfer' | 'transaction' > & {
21092150 block : ResolversParentTypes [ 'Block' ] ;
21102151 crossChainTransfer ?: Maybe < ResolversParentTypes [ 'Transfer' ] > ;
@@ -3094,6 +3135,12 @@ export type QueryResolvers<
30943135 ContextType ,
30953136 Partial < QueryTransactionsArgs >
30963137 > ;
3138+ transactionsByPactCode ?: Resolver <
3139+ ResolversTypes [ 'QueryTransactionsByPactCodeConnection' ] ,
3140+ ParentType ,
3141+ ContextType ,
3142+ RequireFields < QueryTransactionsByPactCodeArgs , 'pactCode' >
3143+ > ;
30973144 transactionsByPublicKey ?: Resolver <
30983145 ResolversTypes [ 'QueryTransactionsByPublicKeyConnection' ] ,
30993146 ParentType ,
@@ -3264,6 +3311,30 @@ export type QueryTokensEdgeResolvers<
32643311 __isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType > ;
32653312} ;
32663313
3314+ export type QueryTransactionsByPactCodeConnectionResolvers <
3315+ ContextType = any ,
3316+ ParentType extends
3317+ ResolversParentTypes [ 'QueryTransactionsByPactCodeConnection' ] = ResolversParentTypes [ 'QueryTransactionsByPactCodeConnection' ] ,
3318+ > = {
3319+ edges ?: Resolver <
3320+ Array < ResolversTypes [ 'QueryTransactionsByPactCodeConnectionEdge' ] > ,
3321+ ParentType ,
3322+ ContextType
3323+ > ;
3324+ pageInfo ?: Resolver < ResolversTypes [ 'PageInfo' ] , ParentType , ContextType > ;
3325+ __isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType > ;
3326+ } ;
3327+
3328+ export type QueryTransactionsByPactCodeConnectionEdgeResolvers <
3329+ ContextType = any ,
3330+ ParentType extends
3331+ ResolversParentTypes [ 'QueryTransactionsByPactCodeConnectionEdge' ] = ResolversParentTypes [ 'QueryTransactionsByPactCodeConnectionEdge' ] ,
3332+ > = {
3333+ cursor ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
3334+ node ?: Resolver < ResolversTypes [ 'TransactionSummary' ] , ParentType , ContextType > ;
3335+ __isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType > ;
3336+ } ;
3337+
32673338export type QueryTransactionsByPublicKeyConnectionResolvers <
32683339 ContextType = any ,
32693340 ParentType extends
@@ -3595,6 +3666,23 @@ export type TransactionSignatureResolvers<
35953666 __isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType > ;
35963667} ;
35973668
3669+ export type TransactionSummaryResolvers <
3670+ ContextType = any ,
3671+ ParentType extends
3672+ ResolversParentTypes [ 'TransactionSummary' ] = ResolversParentTypes [ 'TransactionSummary' ] ,
3673+ > = {
3674+ canonical ?: Resolver < ResolversTypes [ 'Boolean' ] , ParentType , ContextType > ;
3675+ chainId ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
3676+ creationTime ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
3677+ gas ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
3678+ gasLimit ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
3679+ gasPrice ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
3680+ height ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
3681+ requestKey ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
3682+ sender ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
3683+ __isTypeOf ?: IsTypeOfResolverFn < ParentType , ContextType > ;
3684+ } ;
3685+
35983686export type TransferResolvers <
35993687 ContextType = any ,
36003688 ParentType extends ResolversParentTypes [ 'Transfer' ] = ResolversParentTypes [ 'Transfer' ] ,
@@ -3701,6 +3789,8 @@ export type Resolvers<ContextType = any> = {
37013789 QueryPoolsConnectionEdge ?: QueryPoolsConnectionEdgeResolvers < ContextType > ;
37023790 QueryTokensConnection ?: QueryTokensConnectionResolvers < ContextType > ;
37033791 QueryTokensEdge ?: QueryTokensEdgeResolvers < ContextType > ;
3792+ QueryTransactionsByPactCodeConnection ?: QueryTransactionsByPactCodeConnectionResolvers < ContextType > ;
3793+ QueryTransactionsByPactCodeConnectionEdge ?: QueryTransactionsByPactCodeConnectionEdgeResolvers < ContextType > ;
37043794 QueryTransactionsByPublicKeyConnection ?: QueryTransactionsByPublicKeyConnectionResolvers < ContextType > ;
37053795 QueryTransactionsByPublicKeyConnectionEdge ?: QueryTransactionsByPublicKeyConnectionEdgeResolvers < ContextType > ;
37063796 QueryTransactionsConnection ?: QueryTransactionsConnectionResolvers < ContextType > ;
@@ -3725,6 +3815,7 @@ export type Resolvers<ContextType = any> = {
37253815 TransactionResultTransfersConnection ?: TransactionResultTransfersConnectionResolvers < ContextType > ;
37263816 TransactionResultTransfersConnectionEdge ?: TransactionResultTransfersConnectionEdgeResolvers < ContextType > ;
37273817 TransactionSignature ?: TransactionSignatureResolvers < ContextType > ;
3818+ TransactionSummary ?: TransactionSummaryResolvers < ContextType > ;
37283819 Transfer ?: TransferResolvers < ContextType > ;
37293820 UserGuard ?: UserGuardResolvers < ContextType > ;
37303821} ;
0 commit comments