@solana/rpc-graphql 2.0.0-experimental.efe6f4d → 2.0.0-experimental.f025b33
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/dist/index.browser.cjs +2527 -2673
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.js +2526 -2672
- package/dist/index.browser.js.map +1 -1
- package/dist/index.native.js +2526 -2672
- package/dist/index.native.js.map +1 -1
- package/dist/index.node.cjs +2527 -2673
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.js +2526 -2672
- package/dist/index.node.js.map +1 -1
- package/dist/types/context.d.ts +2 -18
- package/dist/types/context.d.ts.map +1 -1
- package/dist/types/index.d.ts +9 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/loaders/account.d.ts +4 -27
- package/dist/types/loaders/account.d.ts.map +1 -1
- package/dist/types/loaders/block.d.ts +4 -15
- package/dist/types/loaders/block.d.ts.map +1 -1
- package/dist/types/loaders/index.d.ts +6 -0
- package/dist/types/loaders/index.d.ts.map +1 -0
- package/dist/types/loaders/loader.d.ts +63 -0
- package/dist/types/loaders/loader.d.ts.map +1 -0
- package/dist/types/loaders/program-accounts.d.ts +4 -27
- package/dist/types/loaders/program-accounts.d.ts.map +1 -1
- package/dist/types/loaders/transaction.d.ts +4 -38
- package/dist/types/loaders/transaction.d.ts.map +1 -1
- package/dist/types/resolvers/account.d.ts +110 -4
- package/dist/types/resolvers/account.d.ts.map +1 -1
- package/dist/types/resolvers/block.d.ts +20 -0
- package/dist/types/resolvers/block.d.ts.map +1 -0
- package/dist/types/resolvers/index.d.ts +3 -0
- package/dist/types/resolvers/index.d.ts.map +1 -0
- package/dist/types/resolvers/instruction.d.ts +948 -0
- package/dist/types/resolvers/instruction.d.ts.map +1 -0
- package/dist/types/resolvers/program-accounts.d.ts +10 -0
- package/dist/types/resolvers/program-accounts.d.ts.map +1 -0
- package/dist/types/resolvers/resolve-info.d.ts.map +1 -0
- package/dist/types/resolvers/root.d.ts +3 -0
- package/dist/types/resolvers/root.d.ts.map +1 -0
- package/dist/types/resolvers/scalars.d.ts +44 -0
- package/dist/types/resolvers/scalars.d.ts.map +1 -0
- package/dist/types/resolvers/transaction.d.ts +19 -0
- package/dist/types/resolvers/transaction.d.ts.map +1 -0
- package/dist/types/resolvers/types.d.ts +26 -0
- package/dist/types/resolvers/types.d.ts.map +1 -0
- package/dist/types/schema/account.d.ts +1 -123
- package/dist/types/schema/account.d.ts.map +1 -1
- package/dist/types/schema/block.d.ts +1 -16
- package/dist/types/schema/block.d.ts.map +1 -1
- package/dist/types/schema/common/inputs.d.ts +0 -1
- package/dist/types/schema/common/inputs.d.ts.map +1 -1
- package/dist/types/schema/common/scalars.d.ts +0 -43
- package/dist/types/schema/common/scalars.d.ts.map +1 -1
- package/dist/types/schema/common/types.d.ts +0 -25
- package/dist/types/schema/common/types.d.ts.map +1 -1
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/index.d.ts.map +1 -1
- package/dist/types/schema/instruction.d.ts +1 -953
- package/dist/types/schema/instruction.d.ts.map +1 -1
- package/dist/types/schema/root.d.ts +2 -0
- package/dist/types/schema/root.d.ts.map +1 -0
- package/dist/types/schema/transaction.d.ts +1 -15
- package/dist/types/schema/transaction.d.ts.map +1 -1
- package/package.json +16 -16
- package/dist/types/loaders/common/resolve-info.d.ts.map +0 -1
- package/dist/types/rpc.d.ts +0 -18
- package/dist/types/rpc.d.ts.map +0 -1
- package/dist/types/schema/program-accounts.d.ts +0 -12
- package/dist/types/schema/program-accounts.d.ts.map +0 -1
- /package/dist/types/{loaders/common → resolvers}/resolve-info.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instruction.d.ts","sourceRoot":"","sources":["../../../src/resolvers/instruction.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCA8VE;YAAE,WAAW,EAAE,MAAM,CAAC;YAAC,eAAe,EAAE,MAAM,CAAA;SAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4WlF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Address } from '@solana/addresses';
|
|
2
|
+
import type { GraphQLResolveInfo } from 'graphql';
|
|
3
|
+
import { RpcGraphQLContext } from '../context.js';
|
|
4
|
+
import { ProgramAccountsLoaderArgs } from '../loaders/index.js';
|
|
5
|
+
export declare function resolveProgramAccounts(fieldName?: string): (parent: {
|
|
6
|
+
[x: string]: Address;
|
|
7
|
+
}, args: ProgramAccountsLoaderArgs, context: RpcGraphQLContext, info: GraphQLResolveInfo | undefined) => Promise<any[] | {
|
|
8
|
+
programAddress: Address;
|
|
9
|
+
} | null>;
|
|
10
|
+
//# sourceMappingURL=program-accounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"program-accounts.d.ts","sourceRoot":"","sources":["../../../src/resolvers/program-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAIvD,wBAAgB,sBAAsB,CAAC,SAAS,CAAC,EAAE,MAAM;;SAG3C,yBAAyB,WACtB,iBAAiB,QACpB,kBAAkB,GAAG,SAAS;;UAoB3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-info.d.ts","sourceRoot":"","sources":["../../../src/resolvers/resolve-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAc/F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../src/resolvers/root.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAOlE,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAOjF,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Kind } from 'graphql';
|
|
2
|
+
export declare const scalarResolvers: {
|
|
3
|
+
Address: {
|
|
4
|
+
__parseLiteral(ast: {
|
|
5
|
+
kind: Kind;
|
|
6
|
+
value: string | number | bigint | boolean;
|
|
7
|
+
}): string | null;
|
|
8
|
+
__parseValue(value: string): string;
|
|
9
|
+
__serialize(value: string): string;
|
|
10
|
+
};
|
|
11
|
+
Base58EncodedBytes: {
|
|
12
|
+
__parseLiteral(ast: {
|
|
13
|
+
kind: Kind;
|
|
14
|
+
value: string | number | bigint | boolean;
|
|
15
|
+
}): string | null;
|
|
16
|
+
__parseValue(value: string): string;
|
|
17
|
+
__serialize(value: string): string;
|
|
18
|
+
};
|
|
19
|
+
Base64EncodedBytes: {
|
|
20
|
+
__parseLiteral(ast: {
|
|
21
|
+
kind: Kind;
|
|
22
|
+
value: string | number | bigint | boolean;
|
|
23
|
+
}): string | null;
|
|
24
|
+
__parseValue(value: string): string;
|
|
25
|
+
__serialize(value: string): string;
|
|
26
|
+
};
|
|
27
|
+
Base64ZstdEncodedBytes: {
|
|
28
|
+
__parseLiteral(ast: {
|
|
29
|
+
kind: Kind;
|
|
30
|
+
value: string | number | bigint | boolean;
|
|
31
|
+
}): string | null;
|
|
32
|
+
__parseValue(value: string): string;
|
|
33
|
+
__serialize(value: string): string;
|
|
34
|
+
};
|
|
35
|
+
BigInt: {
|
|
36
|
+
__parseLiteral(ast: {
|
|
37
|
+
kind: Kind;
|
|
38
|
+
value: string | number | bigint | boolean;
|
|
39
|
+
}): bigint | null;
|
|
40
|
+
__parseValue(value: string): bigint;
|
|
41
|
+
__serialize(value: string): bigint;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=scalars.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scalars.d.ts","sourceRoot":"","sources":["../../../src/resolvers/scalars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAiB/B,eAAO,MAAM,eAAe;;4BAdJ;YAAE,IAAI,EAAE,IAAI,CAAC;YAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;SAAE,GAAG,MAAM,GAAG,IAAI;4BAMzE,MAAM,GAAG,MAAM;2BAGhB,MAAM,GAAG,MAAM;;;4BATd;YAAE,IAAI,EAAE,IAAI,CAAC;YAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;SAAE,GAAG,MAAM,GAAG,IAAI;4BAMzE,MAAM,GAAG,MAAM;2BAGhB,MAAM,GAAG,MAAM;;;4BATd;YAAE,IAAI,EAAE,IAAI,CAAC;YAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;SAAE,GAAG,MAAM,GAAG,IAAI;4BAMzE,MAAM,GAAG,MAAM;2BAGhB,MAAM,GAAG,MAAM;;;4BATd;YAAE,IAAI,EAAE,IAAI,CAAC;YAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;SAAE,GAAG,MAAM,GAAG,IAAI;4BAMzE,MAAM,GAAG,MAAM;2BAGhB,MAAM,GAAG,MAAM;;;4BAWV;YAAE,IAAI,EAAE,IAAI,CAAC;YAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;SAAE,GAAG,MAAM,GAAG,IAAI;4BAMzE,MAAM,GAAG,MAAM;2BAGhB,MAAM,GAAG,MAAM;;CAIzC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Signature } from '@solana/keys';
|
|
2
|
+
import type { GraphQLResolveInfo } from 'graphql';
|
|
3
|
+
import { RpcGraphQLContext } from '../context.js';
|
|
4
|
+
import { TransactionLoaderArgs } from '../loaders/index.js';
|
|
5
|
+
export declare function transformLoadedTransaction({ encoding, transaction, }: {
|
|
6
|
+
encoding: TransactionLoaderArgs['encoding'];
|
|
7
|
+
transaction: any;
|
|
8
|
+
}): any;
|
|
9
|
+
export declare function resolveTransaction(fieldName?: string): (parent: {
|
|
10
|
+
[x: string]: Signature;
|
|
11
|
+
}, args: TransactionLoaderArgs, context: RpcGraphQLContext, info: GraphQLResolveInfo | undefined) => Promise<any>;
|
|
12
|
+
export declare const transactionResolvers: {
|
|
13
|
+
Transaction: {
|
|
14
|
+
__resolveType(transaction: {
|
|
15
|
+
encoding: string;
|
|
16
|
+
}): "TransactionBase58" | "TransactionBase64" | "TransactionParsed";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=transaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../src/resolvers/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAoCnD,wBAAgB,0BAA0B,CAAC,EACvC,QAAuB,EACvB,WAAW,GACd,EAAE;IACC,QAAQ,EAAE,qBAAqB,CAAC,UAAU,CAAC,CAAC;IAE5C,WAAW,EAAE,GAAG,CAAC;CACpB,OAWA;AAED,wBAAgB,kBAAkB,CAAC,SAAS,CAAC,EAAE,MAAM;;SAGvC,qBAAqB,WAClB,iBAAiB,QACpB,kBAAkB,GAAG,SAAS,kBA8B3C;AAED,eAAO,MAAM,oBAAoB;;mCAEE;YAAE,QAAQ,EAAE,MAAM,CAAA;SAAE;;CAWtD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const commonTypeResolvers: {
|
|
2
|
+
AccountEncoding: {
|
|
3
|
+
BASE_58: string;
|
|
4
|
+
BASE_64: string;
|
|
5
|
+
BASE_64_ZSTD: string;
|
|
6
|
+
PARSED: string;
|
|
7
|
+
};
|
|
8
|
+
TokenBalance: {
|
|
9
|
+
mint: (parent: {
|
|
10
|
+
[x: string]: import("@solana/addresses").Address;
|
|
11
|
+
}, args: import("../loaders").AccountLoaderArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<any>;
|
|
12
|
+
owner: (parent: {
|
|
13
|
+
[x: string]: import("@solana/addresses").Address;
|
|
14
|
+
}, args: import("../loaders").AccountLoaderArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<any>;
|
|
15
|
+
};
|
|
16
|
+
TransactionEncoding: {
|
|
17
|
+
BASE_58: string;
|
|
18
|
+
BASE_64: string;
|
|
19
|
+
PARSED: string;
|
|
20
|
+
};
|
|
21
|
+
TransactionVersion: {
|
|
22
|
+
LEGACY: string;
|
|
23
|
+
ZERO: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/resolvers/types.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;CAoB/B,CAAC"}
|
|
@@ -1,124 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { DataSlice, Slot } from '@solana/rpc-core/dist/types/rpc-methods/common';
|
|
3
|
-
export type AccountQueryArgs = {
|
|
4
|
-
address: Address;
|
|
5
|
-
dataSlice?: DataSlice;
|
|
6
|
-
encoding?: 'base58' | 'base64' | 'base64+zstd' | 'jsonParsed';
|
|
7
|
-
commitment?: 'processed' | 'confirmed' | 'finalized';
|
|
8
|
-
minContextSlot?: Slot;
|
|
9
|
-
};
|
|
10
|
-
export declare const accountTypeDefs = "\n # Account interface\n interface Account {\n address: Address\n encoding: AccountEncoding\n executable: Boolean\n lamports: BigInt\n owner: Account\n rentEpoch: BigInt\n }\n\n # An account with base58 encoded data\n type AccountBase58 implements Account {\n address: Address\n data: Base58EncodedBytes\n encoding: AccountEncoding\n executable: Boolean\n lamports: BigInt\n owner: Account\n rentEpoch: BigInt\n }\n\n # An account with base64 encoded data\n type AccountBase64 implements Account {\n address: Address\n data: Base64EncodedBytes\n encoding: AccountEncoding\n executable: Boolean\n lamports: BigInt\n owner: Account\n rentEpoch: BigInt\n }\n\n # An account with base64+zstd encoded data\n type AccountBase64Zstd implements Account {\n address: Address\n data: Base64ZstdEncodedBytes\n encoding: AccountEncoding\n executable: Boolean\n lamports: BigInt\n owner: Account\n rentEpoch: BigInt\n }\n\n # Interface for JSON-parsed meta\n type JsonParsedAccountMeta {\n program: String\n space: BigInt\n type: String\n }\n interface AccountJsonParsed {\n meta: JsonParsedAccountMeta\n }\n\n # A nonce account\n type NonceAccountFeeCalculator {\n lamportsPerSignature: String\n }\n type NonceAccountData {\n authority: Account\n blockhash: String\n feeCalculator: NonceAccountFeeCalculator\n }\n type NonceAccount implements Account & AccountJsonParsed {\n address: Address\n data: NonceAccountData\n encoding: AccountEncoding\n executable: Boolean\n lamports: BigInt\n meta: JsonParsedAccountMeta\n owner: Account\n rentEpoch: BigInt\n }\n\n # A lookup table account\n type LookupTableAccountData {\n addresses: [String]\n authority: Account\n deactivationSlot: String\n lastExtendedSlot: String\n lastExtendedSlotStartIndex: Int\n }\n type LookupTableAccount implements Account & AccountJsonParsed {\n address: Address\n data: LookupTableAccountData\n encoding: AccountEncoding\n executable: Boolean\n lamports: BigInt\n meta: JsonParsedAccountMeta\n owner: Account\n rentEpoch: BigInt\n }\n\n # A mint account\n type MintAccountData {\n decimals: Int\n freezeAuthority: Account\n isInitialized: Boolean\n mintAuthority: Account\n supply: String\n }\n type MintAccount implements Account & AccountJsonParsed {\n address: Address\n data: MintAccountData\n encoding: AccountEncoding\n executable: Boolean\n lamports: BigInt\n meta: JsonParsedAccountMeta\n owner: Account\n rentEpoch: BigInt\n }\n\n # A token account\n type TokenAccountData {\n isNative: Boolean\n mint: Account\n owner: Account\n state: String\n tokenAmount: TokenAmount\n }\n type TokenAccount implements Account & AccountJsonParsed {\n address: Address\n data: TokenAccountData\n encoding: AccountEncoding\n executable: Boolean\n lamports: BigInt\n meta: JsonParsedAccountMeta\n owner: Account\n rentEpoch: BigInt\n }\n\n # A stake account\n type StakeAccountDataMetaAuthorized {\n staker: Account\n withdrawer: Account\n }\n type StakeAccountDataMetaLockup {\n custodian: Account\n epoch: BigInt\n unixTimestamp: BigInt\n }\n type StakeAccountDataMeta {\n authorized: StakeAccountDataMetaAuthorized\n lockup: StakeAccountDataMetaLockup\n rentExemptReserve: String\n }\n type StakeAccountDataStakeDelegation {\n activationEpoch: BigInt\n deactivationEpoch: BigInt\n stake: String\n voter: Account\n warmupCooldownRate: Int\n }\n type StakeAccountDataStake {\n creditsObserved: BigInt\n delegation: StakeAccountDataStakeDelegation\n }\n type StakeAccountData {\n meta: StakeAccountDataMeta\n stake: StakeAccountDataStake\n }\n type StakeAccount implements Account & AccountJsonParsed {\n address: Address\n data: StakeAccountData\n encoding: AccountEncoding\n executable: Boolean\n lamports: BigInt\n meta: JsonParsedAccountMeta\n owner: Account\n rentEpoch: BigInt\n }\n\n # A vote account\n type VoteAccountDataAuthorizedVoter {\n authorizedVoter: Account\n epoch: BigInt\n }\n type VoteAccountDataEpochCredit {\n credits: String\n epoch: BigInt\n previousCredits: String\n }\n type VoteAccountDataLastTimestamp {\n slot: BigInt\n timestamp: BigInt\n }\n type VoteAccountDataVote {\n confirmationCount: Int\n slot: BigInt\n }\n type VoteAccountData {\n authorizedVoters: [VoteAccountDataAuthorizedVoter]\n authorizedWithdrawer: Account\n commission: Int\n epochCredits: [VoteAccountDataEpochCredit]\n lastTimestamp: VoteAccountDataLastTimestamp\n node: Account\n priorVoters: [String]\n rootSlot: BigInt\n votes: [VoteAccountDataVote]\n }\n type VoteAccount implements Account & AccountJsonParsed {\n address: Address\n data: VoteAccountData\n encoding: AccountEncoding\n executable: Boolean\n lamports: BigInt\n meta: JsonParsedAccountMeta\n owner: Account\n rentEpoch: BigInt\n }\n";
|
|
11
|
-
export declare const accountResolvers: {
|
|
12
|
-
Account: {
|
|
13
|
-
__resolveType(account: {
|
|
14
|
-
encoding: string;
|
|
15
|
-
meta: {
|
|
16
|
-
program: string;
|
|
17
|
-
type: string;
|
|
18
|
-
};
|
|
19
|
-
}): "AccountBase58" | "AccountBase64" | "AccountBase64Zstd" | "NonceAccount" | "MintAccount" | "TokenAccount" | "StakeAccount" | "VoteAccount" | "LookupTableAccount";
|
|
20
|
-
};
|
|
21
|
-
AccountBase58: {
|
|
22
|
-
owner: (parent: {
|
|
23
|
-
[x: string]: Address;
|
|
24
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
25
|
-
};
|
|
26
|
-
AccountBase64: {
|
|
27
|
-
owner: (parent: {
|
|
28
|
-
[x: string]: Address;
|
|
29
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
30
|
-
};
|
|
31
|
-
AccountBase64Zstd: {
|
|
32
|
-
owner: (parent: {
|
|
33
|
-
[x: string]: Address;
|
|
34
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
35
|
-
};
|
|
36
|
-
NonceAccountData: {
|
|
37
|
-
authority: (parent: {
|
|
38
|
-
[x: string]: Address;
|
|
39
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
40
|
-
};
|
|
41
|
-
NonceAccount: {
|
|
42
|
-
owner: (parent: {
|
|
43
|
-
[x: string]: Address;
|
|
44
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
45
|
-
};
|
|
46
|
-
LookupTableAccountData: {
|
|
47
|
-
authority: (parent: {
|
|
48
|
-
[x: string]: Address;
|
|
49
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
50
|
-
};
|
|
51
|
-
LookupTableAccount: {
|
|
52
|
-
owner: (parent: {
|
|
53
|
-
[x: string]: Address;
|
|
54
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
55
|
-
};
|
|
56
|
-
MintAccountData: {
|
|
57
|
-
freezeAuthority: (parent: {
|
|
58
|
-
[x: string]: Address;
|
|
59
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
60
|
-
mintAuthority: (parent: {
|
|
61
|
-
[x: string]: Address;
|
|
62
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
63
|
-
};
|
|
64
|
-
MintAccount: {
|
|
65
|
-
owner: (parent: {
|
|
66
|
-
[x: string]: Address;
|
|
67
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
68
|
-
};
|
|
69
|
-
TokenAccountData: {
|
|
70
|
-
mint: (parent: {
|
|
71
|
-
[x: string]: Address;
|
|
72
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
73
|
-
owner: (parent: {
|
|
74
|
-
[x: string]: Address;
|
|
75
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
76
|
-
};
|
|
77
|
-
TokenAccount: {
|
|
78
|
-
owner: (parent: {
|
|
79
|
-
[x: string]: Address;
|
|
80
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
81
|
-
};
|
|
82
|
-
StakeAccountDataMetaAuthorized: {
|
|
83
|
-
staker: (parent: {
|
|
84
|
-
[x: string]: Address;
|
|
85
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
86
|
-
withdrawer: (parent: {
|
|
87
|
-
[x: string]: Address;
|
|
88
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
89
|
-
};
|
|
90
|
-
StakeAccountDataMetaLockup: {
|
|
91
|
-
custodian: (parent: {
|
|
92
|
-
[x: string]: Address;
|
|
93
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
94
|
-
};
|
|
95
|
-
StakeAccountDataStakeDelegation: {
|
|
96
|
-
voter: (parent: {
|
|
97
|
-
[x: string]: Address;
|
|
98
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
99
|
-
};
|
|
100
|
-
StakeAccount: {
|
|
101
|
-
owner: (parent: {
|
|
102
|
-
[x: string]: Address;
|
|
103
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
104
|
-
};
|
|
105
|
-
VoteAccountDataAuthorizedVoter: {
|
|
106
|
-
authorizedVoter: (parent: {
|
|
107
|
-
[x: string]: Address;
|
|
108
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
109
|
-
};
|
|
110
|
-
VoteAccountData: {
|
|
111
|
-
authorizedWithdrawer: (parent: {
|
|
112
|
-
[x: string]: Address;
|
|
113
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
114
|
-
node: (parent: {
|
|
115
|
-
[x: string]: Address;
|
|
116
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
117
|
-
};
|
|
118
|
-
VoteAccount: {
|
|
119
|
-
owner: (parent: {
|
|
120
|
-
[x: string]: Address;
|
|
121
|
-
}, args: AccountQueryArgs, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
1
|
+
export declare const accountTypeDefs = "\n \"\"\"\n Account interface\n \"\"\"\n interface Account {\n address: Address\n executable: Boolean\n lamports: BigInt\n ownerProgram: Account\n space: BigInt\n rentEpoch: BigInt\n }\n\n \"\"\"\n An account with base58 encoded data\n \"\"\"\n type AccountBase58 implements Account {\n address: Address\n data: Base58EncodedBytes\n executable: Boolean\n lamports: BigInt\n ownerProgram: Account\n space: BigInt\n rentEpoch: BigInt\n }\n\n \"\"\"\n An account with base64 encoded data\n \"\"\"\n type AccountBase64 implements Account {\n address: Address\n data: Base64EncodedBytes\n executable: Boolean\n lamports: BigInt\n ownerProgram: Account\n space: BigInt\n rentEpoch: BigInt\n }\n\n \"\"\"\n An account with base64+zstd encoded data\n \"\"\"\n type AccountBase64Zstd implements Account {\n address: Address\n data: Base64ZstdEncodedBytes\n executable: Boolean\n lamports: BigInt\n ownerProgram: Account\n space: BigInt\n rentEpoch: BigInt\n }\n\n type NonceAccountFeeCalculator {\n lamportsPerSignature: String\n }\n \"\"\"\n A nonce account\n \"\"\"\n type NonceAccount implements Account {\n address: Address\n executable: Boolean\n lamports: BigInt\n ownerProgram: Account\n space: BigInt\n rentEpoch: BigInt\n authority: Account\n blockhash: String\n feeCalculator: NonceAccountFeeCalculator\n }\n\n \"\"\"\n A lookup table account\n \"\"\"\n type LookupTableAccount implements Account {\n address: Address\n executable: Boolean\n lamports: BigInt\n ownerProgram: Account\n space: BigInt\n rentEpoch: BigInt\n addresses: [Address]\n authority: Account\n deactivationSlot: String\n lastExtendedSlot: String\n lastExtendedSlotStartIndex: Int\n }\n\n \"\"\"\n A mint account\n \"\"\"\n type MintAccount implements Account {\n address: Address\n executable: Boolean\n lamports: BigInt\n ownerProgram: Account\n space: BigInt\n rentEpoch: BigInt\n decimals: Int\n freezeAuthority: Account\n isInitialized: Boolean\n mintAuthority: Account\n supply: String\n }\n\n \"\"\"\n A token account\n \"\"\"\n type TokenAccount implements Account {\n address: Address\n executable: Boolean\n lamports: BigInt\n ownerProgram: Account\n space: BigInt\n rentEpoch: BigInt\n isNative: Boolean\n mint: Account\n owner: Account\n state: String\n tokenAmount: TokenAmount\n }\n\n type StakeAccountDataMetaAuthorized {\n staker: Account\n withdrawer: Account\n }\n type StakeAccountDataMetaLockup {\n custodian: Account\n epoch: BigInt\n unixTimestamp: BigInt\n }\n type StakeAccountDataMeta {\n authorized: StakeAccountDataMetaAuthorized\n lockup: StakeAccountDataMetaLockup\n rentExemptReserve: String\n }\n type StakeAccountDataStakeDelegation {\n activationEpoch: BigInt\n deactivationEpoch: BigInt\n stake: String\n voter: Account\n warmupCooldownRate: Int\n }\n type StakeAccountDataStake {\n creditsObserved: BigInt\n delegation: StakeAccountDataStakeDelegation\n }\n \"\"\"\n A stake account\n \"\"\"\n type StakeAccount implements Account {\n address: Address\n executable: Boolean\n lamports: BigInt\n ownerProgram: Account\n space: BigInt\n rentEpoch: BigInt\n meta: StakeAccountDataMeta\n stake: StakeAccountDataStake\n }\n\n type VoteAccountDataAuthorizedVoter {\n authorizedVoter: Account\n epoch: BigInt\n }\n type VoteAccountDataEpochCredit {\n credits: String\n epoch: BigInt\n previousCredits: String\n }\n type VoteAccountDataLastTimestamp {\n slot: BigInt\n timestamp: BigInt\n }\n type VoteAccountDataVote {\n confirmationCount: Int\n slot: BigInt\n }\n \"\"\"\n A vote account\n \"\"\"\n type VoteAccount implements Account {\n address: Address\n executable: Boolean\n lamports: BigInt\n ownerProgram: Account\n space: BigInt\n rentEpoch: BigInt\n authorizedVoters: [VoteAccountDataAuthorizedVoter]\n authorizedWithdrawer: Account\n commission: Int\n epochCredits: [VoteAccountDataEpochCredit]\n lastTimestamp: VoteAccountDataLastTimestamp\n node: Account\n priorVoters: [Address]\n rootSlot: BigInt\n votes: [VoteAccountDataVote]\n }\n";
|
|
124
2
|
//# sourceMappingURL=account.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../src/schema/account.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../src/schema/account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,q3JAqM3B,CAAC"}
|
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { Commitment } from '@solana/rpc-types';
|
|
3
|
-
export type BlockQueryArgs = {
|
|
4
|
-
slot: Slot;
|
|
5
|
-
commitment?: Commitment;
|
|
6
|
-
encoding?: 'base58' | 'base64' | 'jsonParsed';
|
|
7
|
-
transactionDetails?: 'accounts' | 'full' | 'none' | 'signatures';
|
|
8
|
-
};
|
|
9
|
-
export declare const blockTypeDefs = "\n type TransactionMetaForAccounts {\n err: String\n fee: BigInt\n postBalances: [BigInt]\n postTokenBalances: [TokenBalance]\n preBalances: [BigInt]\n preTokenBalances: [TokenBalance]\n status: TransactionStatus\n }\n\n type TransactionDataForAccounts {\n accountKeys: [Address]\n signatures: [String]\n }\n\n type BlockTransactionAccounts {\n meta: TransactionMetaForAccounts\n data: TransactionDataForAccounts\n version: String\n }\n\n # Block interface\n interface Block {\n blockhash: String\n blockHeight: BigInt\n blockTime: Int\n parentSlot: BigInt\n previousBlockhash: String\n rewards: [Reward]\n transactionDetails: String\n }\n\n # A block with account transaction details\n type BlockWithAccounts implements Block {\n blockhash: String\n blockHeight: BigInt\n blockTime: Int\n parentSlot: BigInt\n previousBlockhash: String\n rewards: [Reward]\n transactions: [BlockTransactionAccounts]\n transactionDetails: String\n }\n\n # A block with full transaction details\n type BlockWithFull implements Block {\n blockhash: String\n blockHeight: BigInt\n blockTime: Int\n parentSlot: BigInt\n previousBlockhash: String\n rewards: [Reward]\n transactions: [Transaction]\n transactionDetails: String\n }\n\n # A block with none transaction details\n type BlockWithNone implements Block {\n blockhash: String\n blockHeight: BigInt\n blockTime: Int\n parentSlot: BigInt\n previousBlockhash: String\n rewards: [Reward]\n transactionDetails: String\n }\n\n # A block with signature transaction details\n type BlockWithSignatures implements Block {\n blockhash: String\n blockHeight: BigInt\n blockTime: Int\n parentSlot: BigInt\n previousBlockhash: String\n rewards: [Reward]\n signatures: [String]\n transactionDetails: String\n }\n";
|
|
10
|
-
export declare const blockResolvers: {
|
|
11
|
-
Block: {
|
|
12
|
-
__resolveType(block: {
|
|
13
|
-
transactionDetails: string;
|
|
14
|
-
}): "BlockWithAccounts" | "BlockWithNone" | "BlockWithSignatures" | "BlockWithFull";
|
|
15
|
-
};
|
|
16
|
-
};
|
|
1
|
+
export declare const blockTypeDefs = "\n type TransactionMetaForAccounts {\n err: String\n fee: BigInt\n postBalances: [BigInt]\n postTokenBalances: [TokenBalance]\n preBalances: [BigInt]\n preTokenBalances: [TokenBalance]\n status: TransactionStatus\n }\n\n type TransactionDataForAccounts {\n accountKeys: [Address]\n signatures: [String]\n }\n\n type BlockTransactionAccounts {\n meta: TransactionMetaForAccounts\n data: TransactionDataForAccounts\n version: String\n }\n\n \"\"\"\n Block interface\n \"\"\"\n interface Block {\n blockhash: String\n blockHeight: BigInt\n blockTime: BigInt\n parentSlot: BigInt\n previousBlockhash: String\n rewards: [Reward]\n transactionDetails: String\n }\n\n \"\"\"\n A block with account transaction details\n \"\"\"\n type BlockWithAccounts implements Block {\n blockhash: String\n blockHeight: BigInt\n blockTime: BigInt\n parentSlot: BigInt\n previousBlockhash: String\n rewards: [Reward]\n transactions: [BlockTransactionAccounts]\n transactionDetails: String\n }\n\n \"\"\"\n A block with full transaction details\n \"\"\"\n type BlockWithFull implements Block {\n blockhash: String\n blockHeight: BigInt\n blockTime: BigInt\n parentSlot: BigInt\n previousBlockhash: String\n rewards: [Reward]\n transactions: [Transaction]\n transactionDetails: String\n }\n\n \"\"\"\n A block with no transaction details\n \"\"\"\n type BlockWithNone implements Block {\n blockhash: String\n blockHeight: BigInt\n blockTime: BigInt\n parentSlot: BigInt\n previousBlockhash: String\n rewards: [Reward]\n transactionDetails: String\n }\n\n \"\"\"\n A block with signature transaction details\n \"\"\"\n type BlockWithSignatures implements Block {\n blockhash: String\n blockHeight: BigInt\n blockTime: BigInt\n parentSlot: BigInt\n previousBlockhash: String\n rewards: [Reward]\n signatures: [String]\n transactionDetails: String\n }\n";
|
|
17
2
|
//# sourceMappingURL=block.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../src/schema/block.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../src/schema/block.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,kuEAyFzB,CAAC"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export declare const inputTypeDefs = "\n input DataSlice {\n offset: Int\n length: Int\n }\n\n input ProgramAccountsFilter {\n bytes: BigInt\n dataSize: BigInt\n encoding: AccountEncoding\n offset: BigInt\n }\n";
|
|
2
|
-
export declare const inputResolvers: {};
|
|
3
2
|
//# sourceMappingURL=inputs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../src/schema/common/inputs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,uOAYzB,CAAC
|
|
1
|
+
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../src/schema/common/inputs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,uOAYzB,CAAC"}
|
|
@@ -1,45 +1,2 @@
|
|
|
1
|
-
import { Kind } from 'graphql';
|
|
2
1
|
export declare const scalarTypeDefs = "\n scalar Address\n scalar Base58EncodedBytes\n scalar Base64EncodedBytes\n scalar Base64ZstdEncodedBytes\n scalar BigInt\n";
|
|
3
|
-
export declare const scalarResolvers: {
|
|
4
|
-
Address: {
|
|
5
|
-
__parseLiteral(ast: {
|
|
6
|
-
kind: Kind;
|
|
7
|
-
value: string | number | bigint | boolean;
|
|
8
|
-
}): string | null;
|
|
9
|
-
__parseValue(value: string): string;
|
|
10
|
-
__serialize(value: string): string;
|
|
11
|
-
};
|
|
12
|
-
Base58EncodedBytes: {
|
|
13
|
-
__parseLiteral(ast: {
|
|
14
|
-
kind: Kind;
|
|
15
|
-
value: string | number | bigint | boolean;
|
|
16
|
-
}): string | null;
|
|
17
|
-
__parseValue(value: string): string;
|
|
18
|
-
__serialize(value: string): string;
|
|
19
|
-
};
|
|
20
|
-
Base64EncodedBytes: {
|
|
21
|
-
__parseLiteral(ast: {
|
|
22
|
-
kind: Kind;
|
|
23
|
-
value: string | number | bigint | boolean;
|
|
24
|
-
}): string | null;
|
|
25
|
-
__parseValue(value: string): string;
|
|
26
|
-
__serialize(value: string): string;
|
|
27
|
-
};
|
|
28
|
-
Base64ZstdEncodedBytes: {
|
|
29
|
-
__parseLiteral(ast: {
|
|
30
|
-
kind: Kind;
|
|
31
|
-
value: string | number | bigint | boolean;
|
|
32
|
-
}): string | null;
|
|
33
|
-
__parseValue(value: string): string;
|
|
34
|
-
__serialize(value: string): string;
|
|
35
|
-
};
|
|
36
|
-
BigInt: {
|
|
37
|
-
__parseLiteral(ast: {
|
|
38
|
-
kind: Kind;
|
|
39
|
-
value: string | number | bigint | boolean;
|
|
40
|
-
}): bigint | null;
|
|
41
|
-
__parseValue(value: string): bigint;
|
|
42
|
-
__serialize(value: string): bigint;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
2
|
//# sourceMappingURL=scalars.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scalars.d.ts","sourceRoot":"","sources":["../../../../src/schema/common/scalars.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"scalars.d.ts","sourceRoot":"","sources":["../../../../src/schema/common/scalars.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,+IAM1B,CAAC"}
|
|
@@ -1,27 +1,2 @@
|
|
|
1
1
|
export declare const commonTypeDefs = "\n enum AccountEncoding {\n BASE_58\n BASE_64\n BASE_64_ZSTD\n PARSED\n }\n\n enum BlockTransactionDetails {\n accounts\n full\n none\n signatures\n }\n\n enum Commitment {\n confirmed\n finalized\n processed\n }\n\n type ReturnData {\n data: Base64EncodedBytes\n programId: Address\n }\n\n type Reward {\n commission: Int\n lamports: BigInt\n postBalance: BigInt\n pubkey: Address\n rewardType: String\n }\n\n type TokenAmount {\n amount: String\n decimals: Int\n uiAmount: BigInt\n uiAmountString: String\n }\n\n type TokenBalance {\n accountIndex: Int\n mint: Account\n owner: Account\n programId: Address\n uiTokenAmount: TokenAmount\n }\n\n enum TransactionEncoding {\n BASE_58\n BASE_64\n PARSED\n }\n\n enum TransactionVersion {\n LEGACY\n ZERO\n }\n";
|
|
2
|
-
export declare const commonResolvers: {
|
|
3
|
-
AccountEncoding: {
|
|
4
|
-
BASE_58: string;
|
|
5
|
-
BASE_64: string;
|
|
6
|
-
BASE_64_ZSTD: string;
|
|
7
|
-
PARSED: string;
|
|
8
|
-
};
|
|
9
|
-
TokenBalance: {
|
|
10
|
-
mint: (parent: {
|
|
11
|
-
[x: string]: import("@solana/addresses").Address;
|
|
12
|
-
}, args: import("../account").AccountQueryArgs, context: import("../../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
13
|
-
owner: (parent: {
|
|
14
|
-
[x: string]: import("@solana/addresses").Address;
|
|
15
|
-
}, args: import("../account").AccountQueryArgs, context: import("../../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
16
|
-
};
|
|
17
|
-
TransactionEncoding: {
|
|
18
|
-
BASE_58: string;
|
|
19
|
-
BASE_64: string;
|
|
20
|
-
PARSED: string;
|
|
21
|
-
};
|
|
22
|
-
TransactionVersion: {
|
|
23
|
-
LEGACY: string;
|
|
24
|
-
ZERO: number;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
2
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/schema/common/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/schema/common/types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,ghCA2D1B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function createSolanaGraphQLTypeDefs(): string[];
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/index.ts"],"names":[],"mappings":"AASA,wBAAgB,2BAA2B,aAW1C"}
|