@solana/rpc-graphql 2.0.0-experimental.ee4214c → 2.0.0-experimental.ef09aec
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1088 -30
- package/dist/index.browser.cjs +2790 -1925
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.js +2786 -1926
- package/dist/index.browser.js.map +1 -1
- package/dist/index.native.js +2786 -1922
- package/dist/index.native.js.map +1 -1
- package/dist/index.node.cjs +2790 -1921
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.js +2786 -1922
- package/dist/index.node.js.map +1 -1
- package/dist/types/context.d.ts +18 -16
- package/dist/types/loaders/account.d.ts +28 -0
- package/dist/types/loaders/block.d.ts +16 -0
- package/dist/types/loaders/common/resolve-info.d.ts +3 -0
- package/dist/types/loaders/program-accounts.d.ts +28 -0
- package/dist/types/loaders/transaction.d.ts +39 -0
- package/dist/types/resolvers/account.d.ts +8 -0
- package/dist/types/rpc.d.ts +7 -2
- package/dist/types/schema/account.d.ts +124 -0
- package/dist/types/schema/block.d.ts +17 -0
- package/dist/types/schema/common/inputs.d.ts +3 -0
- package/dist/types/schema/common/scalars.d.ts +45 -0
- package/dist/types/schema/common/types.d.ts +27 -0
- package/dist/types/schema/index.d.ts +2 -0
- package/dist/types/schema/instruction.d.ts +954 -0
- package/dist/types/schema/program-accounts.d.ts +12 -0
- package/dist/types/schema/transaction.d.ts +16 -0
- package/package.json +17 -12
- package/dist/types/cache.d.ts +0 -7
- package/dist/types/schema/account/index.d.ts +0 -3
- package/dist/types/schema/account/query.d.ts +0 -38
- package/dist/types/schema/account/types.d.ts +0 -5
- package/dist/types/schema/block/index.d.ts +0 -3
- package/dist/types/schema/block/query.d.ts +0 -42
- package/dist/types/schema/block/types.d.ts +0 -7
- package/dist/types/schema/inputs.d.ts +0 -9
- package/dist/types/schema/picks.d.ts +0 -36
- package/dist/types/schema/program-accounts/index.d.ts +0 -2
- package/dist/types/schema/program-accounts/query.d.ts +0 -47
- package/dist/types/schema/program-accounts/types.d.ts +0 -3
- package/dist/types/schema/scalars.d.ts +0 -3
- package/dist/types/schema/transaction/index.d.ts +0 -3
- package/dist/types/schema/transaction/query.d.ts +0 -33
- package/dist/types/schema/transaction/types.d.ts +0 -12
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Address } from '@solana/addresses';
|
|
2
|
+
import { DataSlice, GetProgramAccountsDatasizeFilter, GetProgramAccountsMemcmpFilter, Slot } from '@solana/rpc-core/dist/types/rpc-methods/common';
|
|
3
|
+
import { Commitment } from '@solana/rpc-types';
|
|
4
|
+
export type ProgramAccountsQueryArgs = {
|
|
5
|
+
programAddress: Address;
|
|
6
|
+
commitment?: Commitment;
|
|
7
|
+
dataSlice?: DataSlice;
|
|
8
|
+
encoding?: 'base58' | 'base64' | 'base64+zstd' | 'jsonParsed';
|
|
9
|
+
filters: (GetProgramAccountsMemcmpFilter | GetProgramAccountsDatasizeFilter)[];
|
|
10
|
+
minContextSlot?: Slot;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=program-accounts.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Signature } from '@solana/keys';
|
|
2
|
+
import { Commitment } from '@solana/rpc-types';
|
|
3
|
+
export type TransactionQueryArgs = {
|
|
4
|
+
signature: Signature;
|
|
5
|
+
commitment?: Commitment;
|
|
6
|
+
encoding?: 'base58' | 'base64' | 'jsonParsed';
|
|
7
|
+
};
|
|
8
|
+
export declare const transactionTypeDefs = "\n type TransactionStatusOk {\n Ok: String\n }\n type TransactionStatusErr {\n Err: String\n }\n union TransactionStatus = TransactionStatusOk | TransactionStatusErr\n\n type TransactionLoadedAddresses {\n readonly: [String]\n writable: [String]\n }\n\n type TransactionInnerInstruction {\n index: Int\n instructions: [TransactionInstruction]\n }\n\n type TransactionMeta {\n computeUnitsConsumed: BigInt\n err: String\n fee: BigInt\n innerInstructions: [TransactionInnerInstruction]\n loadedAddresses: TransactionLoadedAddresses\n logMessages: [String]\n postBalances: [BigInt]\n postTokenBalances: [TokenBalance]\n preBalances: [BigInt]\n preTokenBalances: [TokenBalance]\n returnData: ReturnData\n rewards: [Reward]\n status: TransactionStatus\n }\n\n type TransactionMessageAccountKey {\n pubkey: Address\n signer: Boolean\n source: String\n writable: Boolean\n }\n\n type TransactionMessageAddressTableLookup {\n accountKey: Address\n readableIndexes: [Int]\n writableIndexes: [Int]\n }\n\n type TransactionMessageHeader {\n numReadonlySignedAccounts: Int\n numReadonlyUnsignedAccounts: Int\n numRequiredSignatures: Int\n }\n\n type TransactionMessage {\n accountKeys: [TransactionMessageAccountKey]\n addressTableLookups: [TransactionMessageAddressTableLookup]\n header: TransactionMessageHeader\n instructions: [TransactionInstruction]\n recentBlockhash: String\n }\n\n # Transaction interface\n interface Transaction {\n blockTime: String\n encoding: TransactionEncoding\n meta: TransactionMeta\n slot: BigInt\n version: String\n }\n\n # A transaction with base58 encoded data\n type TransactionBase58 implements Transaction {\n blockTime: String\n data: Base58EncodedBytes\n encoding: TransactionEncoding\n meta: TransactionMeta\n slot: BigInt\n version: String\n }\n\n # A transaction with base64 encoded data\n type TransactionBase64 implements Transaction {\n blockTime: String\n data: Base64EncodedBytes\n encoding: TransactionEncoding\n meta: TransactionMeta\n slot: BigInt\n version: String\n }\n\n # A transaction with JSON encoded data\n type TransactionDataParsed {\n message: TransactionMessage\n signatures: [String]\n }\n type TransactionParsed implements Transaction {\n blockTime: String\n data: TransactionDataParsed\n encoding: TransactionEncoding\n meta: TransactionMeta\n slot: BigInt\n version: String\n }\n";
|
|
9
|
+
export declare const transactionResolvers: {
|
|
10
|
+
Transaction: {
|
|
11
|
+
__resolveType(transaction: {
|
|
12
|
+
encoding: string;
|
|
13
|
+
}): "TransactionBase58" | "TransactionBase64" | "TransactionParsed";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=transaction.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/rpc-graphql",
|
|
3
|
-
"version": "2.0.0-experimental.
|
|
3
|
+
"version": "2.0.0-experimental.ef09aec",
|
|
4
4
|
"description": "A library for resolving GraphQl query calls to the Solana JSON RPC API",
|
|
5
5
|
"exports": {
|
|
6
6
|
"browser": {
|
|
@@ -46,31 +46,36 @@
|
|
|
46
46
|
"maintained node versions"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
+
"@graphql-tools/schema": "^10.0.0",
|
|
50
|
+
"dataloader": "^2.2.2",
|
|
51
|
+
"fast-stable-stringify": "^1.0.0",
|
|
49
52
|
"graphql": "^16.8.0"
|
|
50
53
|
},
|
|
51
54
|
"devDependencies": {
|
|
52
55
|
"@solana/eslint-config-solana": "^1.0.2",
|
|
53
|
-
"@swc/jest": "^0.2.
|
|
54
|
-
"@types/jest": "^29.5.
|
|
56
|
+
"@swc/jest": "^0.2.29",
|
|
57
|
+
"@types/jest": "^29.5.6",
|
|
55
58
|
"@typescript-eslint/eslint-plugin": "^6.3.0",
|
|
56
59
|
"@typescript-eslint/parser": "^6.3.0",
|
|
57
60
|
"agadoo": "^3.0.0",
|
|
58
61
|
"eslint": "^8.45.0",
|
|
59
|
-
"eslint-plugin-jest": "^27.2
|
|
62
|
+
"eslint-plugin-jest": "^27.4.2",
|
|
60
63
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
61
|
-
"jest": "^29.
|
|
62
|
-
"jest-environment-jsdom": "^29.
|
|
64
|
+
"jest": "^29.7.0",
|
|
65
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
63
66
|
"jest-fetch-mock-fork": "^3.0.4",
|
|
64
|
-
"jest-runner-eslint": "^2.1.
|
|
67
|
+
"jest-runner-eslint": "^2.1.2",
|
|
65
68
|
"jest-runner-prettier": "^1.0.0",
|
|
66
69
|
"prettier": "^2.8",
|
|
67
|
-
"tsup": "
|
|
70
|
+
"tsup": "^8.0.1",
|
|
68
71
|
"typescript": "^5.1.6",
|
|
69
72
|
"version-from-git": "^1.1.1",
|
|
70
|
-
"@solana/addresses": "2.0.0-experimental.
|
|
71
|
-
"@solana/rpc-core": "2.0.0-experimental.
|
|
72
|
-
"@solana/
|
|
73
|
-
"@solana/
|
|
73
|
+
"@solana/addresses": "2.0.0-experimental.ef09aec",
|
|
74
|
+
"@solana/rpc-core": "2.0.0-experimental.ef09aec",
|
|
75
|
+
"@solana/keys": "2.0.0-experimental.ef09aec",
|
|
76
|
+
"@solana/rpc-transport": "2.0.0-experimental.ef09aec",
|
|
77
|
+
"@solana/rpc-types": "2.0.0-experimental.ef09aec",
|
|
78
|
+
"@solana/transactions": "2.0.0-experimental.ef09aec",
|
|
74
79
|
"build-scripts": "0.0.0",
|
|
75
80
|
"test-config": "0.0.0",
|
|
76
81
|
"tsconfig": "0.0.0"
|
package/dist/types/cache.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export interface GraphQLCache {
|
|
2
|
-
flush(): void;
|
|
3
|
-
get(key: string | bigint, variables: unknown): unknown | null;
|
|
4
|
-
insert(key: string | bigint, variables: unknown, value: unknown): void;
|
|
5
|
-
}
|
|
6
|
-
export declare function createGraphQLCache(): GraphQLCache;
|
|
7
|
-
//# sourceMappingURL=cache.d.ts.map
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Base58EncodedAddress } from '@solana/addresses';
|
|
2
|
-
import { Commitment } from '@solana/rpc-core';
|
|
3
|
-
import { DataSlice, Slot } from '@solana/rpc-core/dist/types/rpc-methods/common';
|
|
4
|
-
import { RpcGraphQLContext } from '../../context';
|
|
5
|
-
export type AccountQueryArgs = {
|
|
6
|
-
address: Base58EncodedAddress;
|
|
7
|
-
commitment?: Commitment;
|
|
8
|
-
dataSlice?: DataSlice;
|
|
9
|
-
encoding?: 'base58' | 'base64' | 'base64+zstd' | 'jsonParsed';
|
|
10
|
-
minContextSlot?: Slot;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Account root query for GraphQL
|
|
14
|
-
*/
|
|
15
|
-
export declare const accountQuery: () => {
|
|
16
|
-
account: {
|
|
17
|
-
args: {
|
|
18
|
-
address: {
|
|
19
|
-
type: import("graphql").GraphQLList<import("graphql").GraphQLScalarType<string, string>>;
|
|
20
|
-
};
|
|
21
|
-
commitment: {
|
|
22
|
-
type: import("graphql").GraphQLEnumType;
|
|
23
|
-
};
|
|
24
|
-
dataSlice: {
|
|
25
|
-
type: import("graphql").GraphQLInputObjectType;
|
|
26
|
-
};
|
|
27
|
-
encoding: {
|
|
28
|
-
type: import("graphql").GraphQLEnumType;
|
|
29
|
-
};
|
|
30
|
-
minContextSlot: {
|
|
31
|
-
type: import("graphql").GraphQLScalarType<unknown, unknown>;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
resolve: (_parent: unknown, args: AccountQueryArgs, context: RpcGraphQLContext) => Promise<{} | null | undefined>;
|
|
35
|
-
type: import("graphql").GraphQLInterfaceType;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=query.d.ts.map
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { GraphQLInterfaceType, GraphQLObjectType } from 'graphql';
|
|
2
|
-
export declare const tokenAmountType: () => GraphQLObjectType<any, any>;
|
|
3
|
-
export declare const accountInterface: () => GraphQLInterfaceType;
|
|
4
|
-
export declare const accountTypes: () => GraphQLObjectType<any, any>[];
|
|
5
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Commitment } from '@solana/rpc-core';
|
|
2
|
-
import { Slot } from '@solana/rpc-core/dist/types/rpc-methods/common';
|
|
3
|
-
import { TransactionVersion } from '@solana/transactions';
|
|
4
|
-
import { RpcGraphQLContext } from '../../context';
|
|
5
|
-
export type BlockQueryArgs = {
|
|
6
|
-
slot: Slot;
|
|
7
|
-
commitment?: Commitment;
|
|
8
|
-
encoding?: 'base58' | 'base64' | 'json' | 'jsonParsed';
|
|
9
|
-
maxSupportedTransactionVersion?: Exclude<TransactionVersion, 'legacy'>;
|
|
10
|
-
rewards?: boolean;
|
|
11
|
-
transactionDetails?: 'accounts' | 'full' | 'none' | 'signatures';
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Block root query for GraphQL
|
|
15
|
-
*/
|
|
16
|
-
export declare const blockQuery: () => {
|
|
17
|
-
block: {
|
|
18
|
-
args: {
|
|
19
|
-
commitment: {
|
|
20
|
-
type: import("graphql").GraphQLEnumType;
|
|
21
|
-
};
|
|
22
|
-
encoding: {
|
|
23
|
-
type: import("graphql").GraphQLEnumType;
|
|
24
|
-
};
|
|
25
|
-
maxSupportedTransactionVersion: {
|
|
26
|
-
type: import("graphql").GraphQLScalarType<string, string>;
|
|
27
|
-
};
|
|
28
|
-
rewards: {
|
|
29
|
-
type: import("graphql").GraphQLScalarType<boolean, boolean>;
|
|
30
|
-
};
|
|
31
|
-
slot: {
|
|
32
|
-
type: import("graphql").GraphQLList<import("graphql").GraphQLScalarType<unknown, unknown>>;
|
|
33
|
-
};
|
|
34
|
-
transactionDetails: {
|
|
35
|
-
type: import("graphql").GraphQLEnumType;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
resolve: (_parent: unknown, args: BlockQueryArgs, context: RpcGraphQLContext) => Promise<{} | null | undefined>;
|
|
39
|
-
type: import("graphql").GraphQLInterfaceType;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=query.d.ts.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { GraphQLInterfaceType, GraphQLObjectType } from 'graphql';
|
|
2
|
-
/**
|
|
3
|
-
* Interface for a block
|
|
4
|
-
*/
|
|
5
|
-
export declare const blockInterface: () => GraphQLInterfaceType;
|
|
6
|
-
export declare const blockTypes: () => GraphQLObjectType<any, any>[];
|
|
7
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { GraphQLEnumType, GraphQLInputObjectType } from 'graphql';
|
|
2
|
-
export declare const accountEncodingInputType: () => GraphQLEnumType;
|
|
3
|
-
export declare const blockTransactionDetailsInputType: () => GraphQLEnumType;
|
|
4
|
-
export declare const commitmentInputType: () => GraphQLEnumType;
|
|
5
|
-
export declare const dataSliceInputType: () => GraphQLInputObjectType;
|
|
6
|
-
export declare const maxSupportedTransactionVersionInputType: () => GraphQLEnumType;
|
|
7
|
-
export declare const programAccountFilterInputType: () => GraphQLInputObjectType;
|
|
8
|
-
export declare const transactionEncodingInputType: () => GraphQLEnumType;
|
|
9
|
-
//# sourceMappingURL=inputs.d.ts.map
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { GraphQLEnumType, GraphQLInputObjectType, GraphQLInterfaceType, GraphQLList, GraphQLObjectType, GraphQLScalarType, GraphQLUnionType } from 'graphql';
|
|
2
|
-
type GraphQLType = GraphQLEnumType | GraphQLInputObjectType | GraphQLInterfaceType | GraphQLObjectType | GraphQLScalarType | GraphQLUnionType;
|
|
3
|
-
export declare function boolean(): {
|
|
4
|
-
type: GraphQLScalarType<boolean, boolean>;
|
|
5
|
-
};
|
|
6
|
-
export declare function bigint(): {
|
|
7
|
-
type: GraphQLScalarType<unknown, unknown>;
|
|
8
|
-
};
|
|
9
|
-
export declare function float(): {
|
|
10
|
-
type: GraphQLScalarType<number, number>;
|
|
11
|
-
};
|
|
12
|
-
export declare function number(): {
|
|
13
|
-
type: GraphQLScalarType<number, number>;
|
|
14
|
-
};
|
|
15
|
-
export declare function string(): {
|
|
16
|
-
type: GraphQLScalarType<string, string>;
|
|
17
|
-
};
|
|
18
|
-
export declare function type<TFieldType extends GraphQLType>(fieldType: TFieldType): {
|
|
19
|
-
type: TFieldType;
|
|
20
|
-
};
|
|
21
|
-
export declare function nonNull<TFieldType extends GraphQLType>(fieldType: {
|
|
22
|
-
type: TFieldType;
|
|
23
|
-
}): {
|
|
24
|
-
type: GraphQLList<TFieldType>;
|
|
25
|
-
};
|
|
26
|
-
export declare function list<TElementType extends GraphQLType>(elementType: {
|
|
27
|
-
type: TElementType;
|
|
28
|
-
}): {
|
|
29
|
-
type: GraphQLList<TElementType>;
|
|
30
|
-
};
|
|
31
|
-
type ConstructorParametersOf<T> = T extends new (...args: infer P) => unknown ? P : never;
|
|
32
|
-
export declare function object(name: string, fields: ConstructorParametersOf<typeof GraphQLObjectType>[0]['fields']): {
|
|
33
|
-
type: GraphQLObjectType;
|
|
34
|
-
};
|
|
35
|
-
export {};
|
|
36
|
-
//# sourceMappingURL=picks.d.ts.map
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Base58EncodedAddress } from '@solana/addresses';
|
|
2
|
-
import { Commitment } from '@solana/rpc-core';
|
|
3
|
-
import { DataSlice, GetProgramAccountsDatasizeFilter, GetProgramAccountsMemcmpFilter, Slot } from '@solana/rpc-core/dist/types/rpc-methods/common';
|
|
4
|
-
import { GraphQLList } from 'graphql';
|
|
5
|
-
import { RpcGraphQLContext } from '../../context';
|
|
6
|
-
export type ProgramAccountsQueryArgs = {
|
|
7
|
-
programAddress: Base58EncodedAddress;
|
|
8
|
-
commitment?: Commitment;
|
|
9
|
-
dataSlice?: DataSlice;
|
|
10
|
-
encoding?: 'base58' | 'base64' | 'base64+zstd' | 'jsonParsed';
|
|
11
|
-
filters: (GetProgramAccountsMemcmpFilter | GetProgramAccountsDatasizeFilter)[];
|
|
12
|
-
minContextSlot?: Slot;
|
|
13
|
-
withContext?: boolean;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Program accounts root query for GraphQL
|
|
17
|
-
*/
|
|
18
|
-
export declare const programAccountsQuery: () => {
|
|
19
|
-
programAccounts: {
|
|
20
|
-
args: {
|
|
21
|
-
commitment: {
|
|
22
|
-
type: import("graphql").GraphQLEnumType;
|
|
23
|
-
};
|
|
24
|
-
dataSlice: {
|
|
25
|
-
type: import("graphql").GraphQLInputObjectType;
|
|
26
|
-
};
|
|
27
|
-
encoding: {
|
|
28
|
-
type: import("graphql").GraphQLEnumType;
|
|
29
|
-
};
|
|
30
|
-
filters: {
|
|
31
|
-
type: GraphQLList<import("graphql").GraphQLInputObjectType>;
|
|
32
|
-
};
|
|
33
|
-
minContextSlot: {
|
|
34
|
-
type: import("graphql").GraphQLScalarType<unknown, unknown>;
|
|
35
|
-
};
|
|
36
|
-
programAddress: {
|
|
37
|
-
type: GraphQLList<import("graphql").GraphQLScalarType<string, string>>;
|
|
38
|
-
};
|
|
39
|
-
withContext: {
|
|
40
|
-
type: import("graphql").GraphQLScalarType<string, string>;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
resolve: (_parent: unknown, args: ProgramAccountsQueryArgs, context: RpcGraphQLContext) => Promise<{} | undefined>;
|
|
44
|
-
type: GraphQLList<import("graphql").GraphQLObjectType<any, any>>;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=query.d.ts.map
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Commitment } from '@solana/rpc-core';
|
|
2
|
-
import { TransactionSignature, TransactionVersion } from '@solana/transactions';
|
|
3
|
-
import { RpcGraphQLContext } from '../../context';
|
|
4
|
-
export type TransactionQueryArgs = {
|
|
5
|
-
signature: TransactionSignature;
|
|
6
|
-
commitment?: Commitment;
|
|
7
|
-
encoding?: 'base58' | 'base64' | 'json' | 'jsonParsed';
|
|
8
|
-
maxSupportedTransactionVersion?: Exclude<TransactionVersion, 'legacy'>;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Transaction root query for GraphQL
|
|
12
|
-
*/
|
|
13
|
-
export declare const transactionQuery: () => {
|
|
14
|
-
transaction: {
|
|
15
|
-
args: {
|
|
16
|
-
commitment: {
|
|
17
|
-
type: import("graphql").GraphQLEnumType;
|
|
18
|
-
};
|
|
19
|
-
encoding: {
|
|
20
|
-
type: import("graphql").GraphQLEnumType;
|
|
21
|
-
};
|
|
22
|
-
maxSupportedTransactionVersion: {
|
|
23
|
-
type: import("graphql").GraphQLEnumType;
|
|
24
|
-
};
|
|
25
|
-
signature: {
|
|
26
|
-
type: import("graphql").GraphQLList<import("graphql").GraphQLScalarType<string, string>>;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
resolve: (_parent: unknown, args: TransactionQueryArgs, context: RpcGraphQLContext) => Promise<{} | null | undefined>;
|
|
30
|
-
type: import("graphql").GraphQLInterfaceType;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=query.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { GraphQLInterfaceType, GraphQLObjectType, GraphQLUnionType } from 'graphql';
|
|
2
|
-
export declare const tokenBalance: () => GraphQLObjectType<any, any>;
|
|
3
|
-
export declare const transactionStatus: () => GraphQLUnionType;
|
|
4
|
-
export declare const reward: () => GraphQLObjectType<any, any>;
|
|
5
|
-
export declare const returnData: () => GraphQLObjectType<any, any>;
|
|
6
|
-
export declare const transactionMetaLoadedAddresses: () => GraphQLObjectType<any, any>;
|
|
7
|
-
/**
|
|
8
|
-
* Interface for a transaction
|
|
9
|
-
*/
|
|
10
|
-
export declare const transactionInterface: () => GraphQLInterfaceType;
|
|
11
|
-
export declare const transactionTypes: () => GraphQLObjectType<any, any>[];
|
|
12
|
-
//# sourceMappingURL=types.d.ts.map
|