@solana/rpc-graphql 2.0.0-experimental.aa4a701 → 2.0.0-experimental.af584fc
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 +326 -305
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.js +326 -305
- package/dist/index.browser.js.map +1 -1
- package/dist/index.native.js +326 -301
- package/dist/index.native.js.map +1 -1
- package/dist/index.node.cjs +326 -301
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.js +326 -301
- package/dist/index.node.js.map +1 -1
- package/dist/types/context.d.ts +9 -10
- package/dist/types/loaders/block.d.ts +12 -2
- package/dist/types/loaders/program-accounts.d.ts +24 -2
- package/dist/types/loaders/transaction.d.ts +25 -2
- package/dist/types/schema/account.d.ts +1 -1
- package/dist/types/schema/block.d.ts +1 -1
- package/dist/types/schema/common/inputs.d.ts +2 -9
- package/dist/types/schema/common/scalars.d.ts +33 -1
- package/dist/types/schema/common/types.d.ts +16 -1
- package/dist/types/schema/instruction.d.ts +1 -1
- package/dist/types/schema/transaction.d.ts +1 -1
- package/package.json +10 -10
- package/dist/types/cache.d.ts +0 -7
package/dist/types/context.d.ts
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { GraphQLResolveInfo } from 'graphql';
|
|
2
|
-
import { GraphQLCache } from './cache';
|
|
3
|
-
import { loadBlock } from './loaders/block';
|
|
4
|
-
import { loadProgramAccounts } from './loaders/program-accounts';
|
|
5
|
-
import { loadTransaction } from './loaders/transaction';
|
|
6
2
|
import { createRpcGraphQL } from './rpc';
|
|
7
3
|
import { AccountQueryArgs } from './schema/account';
|
|
8
4
|
import { BlockQueryArgs } from './schema/block';
|
|
9
5
|
import { ProgramAccountsQueryArgs } from './schema/program-accounts';
|
|
10
6
|
import { TransactionQueryArgs } from './schema/transaction';
|
|
11
7
|
export type Rpc = Parameters<typeof createRpcGraphQL>[0];
|
|
8
|
+
type LoadFn<TArgs> = (args: TArgs, info?: GraphQLResolveInfo | undefined) => Promise<unknown>;
|
|
12
9
|
type Loader<TArgs> = {
|
|
13
|
-
load:
|
|
10
|
+
load: LoadFn<TArgs>;
|
|
11
|
+
};
|
|
12
|
+
type RpcGraphQLLoaders = {
|
|
13
|
+
account: Loader<AccountQueryArgs>;
|
|
14
|
+
block: Loader<BlockQueryArgs>;
|
|
15
|
+
programAccounts: Loader<ProgramAccountsQueryArgs>;
|
|
16
|
+
transaction: Loader<TransactionQueryArgs>;
|
|
14
17
|
};
|
|
15
18
|
export interface RpcGraphQLContext {
|
|
16
|
-
|
|
17
|
-
accountLoader: Loader<AccountQueryArgs>;
|
|
18
|
-
loadBlock(args: BlockQueryArgs, info?: GraphQLResolveInfo): ReturnType<typeof loadBlock>;
|
|
19
|
-
loadProgramAccounts(args: ProgramAccountsQueryArgs, info?: GraphQLResolveInfo): ReturnType<typeof loadProgramAccounts>;
|
|
20
|
-
loadTransaction(args: TransactionQueryArgs, info?: GraphQLResolveInfo): ReturnType<typeof loadTransaction>;
|
|
19
|
+
loaders: RpcGraphQLLoaders;
|
|
21
20
|
rpc: Rpc;
|
|
22
21
|
}
|
|
23
22
|
export declare function createSolanaGraphQLContext(rpc: Rpc): RpcGraphQLContext;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { GraphQLResolveInfo } from 'graphql';
|
|
2
|
-
import { GraphQLCache } from '../cache';
|
|
3
2
|
import type { Rpc } from '../context';
|
|
4
3
|
import { BlockQueryArgs } from '../schema/block';
|
|
5
|
-
|
|
4
|
+
declare function normalizeArgs(args: BlockQueryArgs): {
|
|
5
|
+
commitment: import("@solana/rpc-types").Commitment;
|
|
6
|
+
encoding: "base58" | "base64" | "jsonParsed";
|
|
7
|
+
maxSupportedTransactionVersion: number;
|
|
8
|
+
slot: bigint;
|
|
9
|
+
transactionDetails: "accounts" | "full" | "none" | "signatures";
|
|
10
|
+
};
|
|
11
|
+
export declare function loadBlock(rpc: Rpc, { slot, ...config }: ReturnType<typeof normalizeArgs>): Promise<any>;
|
|
12
|
+
export declare function createBlockLoader(rpc: Rpc): {
|
|
13
|
+
load: (args: BlockQueryArgs, info?: GraphQLResolveInfo) => Promise<any>;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
6
16
|
//# sourceMappingURL=block.d.ts.map
|
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
import { GraphQLResolveInfo } from 'graphql';
|
|
2
|
-
import { GraphQLCache } from '../cache';
|
|
3
2
|
import type { Rpc } from '../context';
|
|
4
3
|
import { ProgramAccountsQueryArgs } from '../schema/program-accounts';
|
|
5
|
-
|
|
4
|
+
declare function normalizeArgs(args: ProgramAccountsQueryArgs): {
|
|
5
|
+
commitment: import("@solana/rpc-types").Commitment;
|
|
6
|
+
dataSlice: Readonly<{
|
|
7
|
+
offset: number;
|
|
8
|
+
length: number;
|
|
9
|
+
}> | undefined;
|
|
10
|
+
encoding: "base58" | "base64" | "base64+zstd" | "jsonParsed";
|
|
11
|
+
filters: (Readonly<{
|
|
12
|
+
offset: bigint;
|
|
13
|
+
bytes: string;
|
|
14
|
+
encoding: "base58" | "base64";
|
|
15
|
+
}> | Readonly<{
|
|
16
|
+
dataSize: bigint;
|
|
17
|
+
}>)[];
|
|
18
|
+
minContextSlot: bigint | undefined;
|
|
19
|
+
programAddress: import("@solana/addresses").Address;
|
|
20
|
+
};
|
|
21
|
+
export declare function loadProgramAccounts(rpc: Rpc, { programAddress, ...config }: ReturnType<typeof normalizeArgs>): Promise<any[]>;
|
|
22
|
+
export declare function createProgramAccountsLoader(rpc: Rpc): {
|
|
23
|
+
load: (args: ProgramAccountsQueryArgs, info?: GraphQLResolveInfo) => Promise<any[] | {
|
|
24
|
+
programAddress: import("@solana/addresses").Address;
|
|
25
|
+
}>;
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
6
28
|
//# sourceMappingURL=program-accounts.d.ts.map
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { GraphQLResolveInfo } from 'graphql';
|
|
2
|
-
import { GraphQLCache } from '../cache';
|
|
3
2
|
import type { Rpc } from '../context';
|
|
4
3
|
import { TransactionQueryArgs } from '../schema/transaction';
|
|
4
|
+
declare function normalizeArgs(args: TransactionQueryArgs): {
|
|
5
|
+
commitment: import("@solana/rpc-types").Commitment;
|
|
6
|
+
encoding: "base58" | "base64" | "jsonParsed";
|
|
7
|
+
maxSupportedTransactionVersion: number;
|
|
8
|
+
signature: import("@solana/keys").Signature;
|
|
9
|
+
};
|
|
5
10
|
export declare function refineJsonParsedTransaction({ encoding, transaction }: {
|
|
6
11
|
encoding: string;
|
|
7
12
|
transaction: any;
|
|
@@ -12,5 +17,23 @@ export declare function refineJsonParsedTransaction({ encoding, transaction }: {
|
|
|
12
17
|
slot: any;
|
|
13
18
|
version: any;
|
|
14
19
|
};
|
|
15
|
-
export declare function loadTransaction({ signature, ...config }:
|
|
20
|
+
export declare function loadTransaction(rpc: Rpc, { signature, ...config }: ReturnType<typeof normalizeArgs>): Promise<{
|
|
21
|
+
data: any;
|
|
22
|
+
encoding: string;
|
|
23
|
+
meta: any;
|
|
24
|
+
slot: any;
|
|
25
|
+
version: any;
|
|
26
|
+
} | null>;
|
|
27
|
+
export declare function createTransactionLoader(rpc: Rpc): {
|
|
28
|
+
load: (args: TransactionQueryArgs, info?: GraphQLResolveInfo) => Promise<{
|
|
29
|
+
data: any;
|
|
30
|
+
encoding: string;
|
|
31
|
+
meta: any;
|
|
32
|
+
slot: any;
|
|
33
|
+
version: any;
|
|
34
|
+
} | {
|
|
35
|
+
signature: import("@solana/keys").Signature;
|
|
36
|
+
} | null>;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
16
39
|
//# sourceMappingURL=transaction.d.ts.map
|
|
@@ -7,7 +7,7 @@ export type AccountQueryArgs = {
|
|
|
7
7
|
commitment?: 'processed' | 'confirmed' | 'finalized';
|
|
8
8
|
minContextSlot?: Slot;
|
|
9
9
|
};
|
|
10
|
-
export declare const accountTypeDefs = "\n # Account interface\n interface Account {\n address:
|
|
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
11
|
export declare const accountResolvers: {
|
|
12
12
|
Account: {
|
|
13
13
|
__resolveType(account: {
|
|
@@ -6,7 +6,7 @@ export type BlockQueryArgs = {
|
|
|
6
6
|
encoding?: 'base58' | 'base64' | 'jsonParsed';
|
|
7
7
|
transactionDetails?: 'accounts' | 'full' | 'none' | 'signatures';
|
|
8
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: [
|
|
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
10
|
export declare const blockResolvers: {
|
|
11
11
|
Block: {
|
|
12
12
|
__resolveType(block: {
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
export declare const inputTypeDefs = "\n
|
|
2
|
-
export declare const inputResolvers: {
|
|
3
|
-
AccountEncoding: {
|
|
4
|
-
base64Zstd: string;
|
|
5
|
-
};
|
|
6
|
-
TransactionVersion: {
|
|
7
|
-
zero: number;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
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: {};
|
|
10
3
|
//# sourceMappingURL=inputs.d.ts.map
|
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
import { Kind } from 'graphql';
|
|
2
|
-
export declare const scalarTypeDefs = "\n scalar BigInt\n";
|
|
2
|
+
export declare const scalarTypeDefs = "\n scalar Address\n scalar Base58EncodedBytes\n scalar Base64EncodedBytes\n scalar Base64ZstdEncodedBytes\n scalar BigInt\n";
|
|
3
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
|
+
};
|
|
4
36
|
BigInt: {
|
|
5
37
|
__parseLiteral(ast: {
|
|
6
38
|
kind: Kind;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
export declare const commonTypeDefs = "\n type ReturnData {\n data:
|
|
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
2
|
export declare const commonResolvers: {
|
|
3
|
+
AccountEncoding: {
|
|
4
|
+
BASE_58: string;
|
|
5
|
+
BASE_64: string;
|
|
6
|
+
BASE_64_ZSTD: string;
|
|
7
|
+
PARSED: string;
|
|
8
|
+
};
|
|
3
9
|
TokenBalance: {
|
|
4
10
|
mint: (parent: {
|
|
5
11
|
[x: string]: import("@solana/addresses").Address;
|
|
@@ -8,5 +14,14 @@ export declare const commonResolvers: {
|
|
|
8
14
|
[x: string]: import("@solana/addresses").Address;
|
|
9
15
|
}, args: import("../account").AccountQueryArgs, context: import("../../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo | undefined) => Promise<unknown> | null;
|
|
10
16
|
};
|
|
17
|
+
TransactionEncoding: {
|
|
18
|
+
BASE_58: string;
|
|
19
|
+
BASE_64: string;
|
|
20
|
+
PARSED: string;
|
|
21
|
+
};
|
|
22
|
+
TransactionVersion: {
|
|
23
|
+
LEGACY: string;
|
|
24
|
+
ZERO: number;
|
|
25
|
+
};
|
|
11
26
|
};
|
|
12
27
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const instructionTypeDefs = "\n type JsonParsedInstructionMeta {\n program: String\n type: String\n }\n\n # Transaction instruction interface\n interface TransactionInstruction {\n programId: String\n }\n\n # Generic transaction instruction\n type GenericInstruction implements TransactionInstruction {\n accounts: [String]\n data: String\n programId: String\n }\n\n # AddressLookupTable: CreateLookupTable\n type CreateLookupTableInstructionData {\n bumpSeed: BigInt # FIXME:*\n lookupTableAccount: Account\n lookupTableAuthority: Account\n payerAccount: Account\n recentSlot: BigInt\n systemProgram: Account\n }\n type CreateLookupTableInstruction implements TransactionInstruction {\n data: CreateLookupTableInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # AddressLookupTable: ExtendLookupTable\n type ExtendLookupTableInstructionData {\n lookupTableAccount: Account\n lookupTableAuthority: Account\n newAddresses: [String]\n payerAccount: Account\n systemProgram: Account\n }\n type ExtendLookupTableInstruction implements TransactionInstruction {\n data: ExtendLookupTableInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # AddressLookupTable: FreezeLookupTable\n type FreezeLookupTableInstructionData {\n lookupTableAccount: Account\n lookupTableAuthority: Account\n }\n type FreezeLookupTableInstruction implements TransactionInstruction {\n data: FreezeLookupTableInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # AddressLookupTable: DeactivateLookupTable\n type DeactivateLookupTableInstructionData {\n lookupTableAccount: Account\n lookupTableAuthority: Account\n }\n type DeactivateLookupTableInstruction implements TransactionInstruction {\n data: DeactivateLookupTableInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # AddressLookupTable: CloseLookupTable\n type CloseLookupTableInstructionData {\n lookupTableAccount: Account\n lookupTableAuthority: Account\n recipient: Account\n }\n type CloseLookupTableInstruction implements TransactionInstruction {\n data: CloseLookupTableInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # BpfLoader: Write\n type BpfLoaderWriteInstructionData {\n account: Account\n bytes: String\n offset: BigInt # FIXME:*\n }\n type BpfLoaderWriteInstruction implements TransactionInstruction {\n data: BpfLoaderWriteInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # BpfLoader: Finalize\n type BpfLoaderFinalizeInstructionData {\n account: Account\n }\n type BpfLoaderFinalizeInstruction implements TransactionInstruction {\n data: BpfLoaderFinalizeInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # BpfUpgradeableLoader: InitializeBuffer\n type BpfUpgradeableLoaderInitializeBufferInstructionData {\n account: Account\n }\n type BpfUpgradeableLoaderInitializeBufferInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderInitializeBufferInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # BpfUpgradeableLoader: Write\n type BpfUpgradeableLoaderWriteInstructionData {\n account: Account\n authority: Account\n bytes: String\n offset: BigInt # FIXME:*\n }\n type BpfUpgradeableLoaderWriteInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderWriteInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # BpfUpgradeableLoader: DeployWithMaxDataLen\n type BpfUpgradeableLoaderDeployWithMaxDataLenInstructionData {\n authority: Account\n bufferAccount: Account\n clockSysvar: String\n maxDataLen: BigInt\n payerAccount: Account\n programAccount: Account\n programDataAccount: Account\n rentSysvar: String\n }\n type BpfUpgradeableLoaderDeployWithMaxDataLenInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderDeployWithMaxDataLenInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # BpfUpgradeableLoader: Upgrade\n type BpfUpgradeableLoaderUpgradeInstructionData {\n authority: Account\n bufferAccount: Account\n clockSysvar: String\n programAccount: Account\n programDataAccount: Account\n rentSysvar: String\n spillAccount: Account\n }\n type BpfUpgradeableLoaderUpgradeInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderUpgradeInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # BpfUpgradeableLoader: SetAuthority\n type BpfUpgradeableLoaderSetAuthorityInstructionData {\n account: Account\n authority: Account\n newAuthority: Account\n }\n type BpfUpgradeableLoaderSetAuthorityInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderSetAuthorityInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # BpfUpgradeableLoader: SetAuthorityChecked\n type BpfUpgradeableLoaderSetAuthorityCheckedInstructionData {\n account: Account\n authority: Account\n newAuthority: Account\n }\n type BpfUpgradeableLoaderSetAuthorityCheckedInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderSetAuthorityCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # BpfUpgradeableLoader: Close\n type BpfUpgradeableLoaderCloseInstructionData {\n account: Account\n authority: Account\n programAccount: Account\n recipient: Account\n }\n type BpfUpgradeableLoaderCloseInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderCloseInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # BpfUpgradeableLoader: ExtendProgram\n type BpfUpgradeableLoaderExtendProgramInstructionData {\n additionalBytes: BigInt\n payerAccount: Account\n programAccount: Account\n programDataAccount: Account\n systemProgram: Account\n }\n type BpfUpgradeableLoaderExtendProgramInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderExtendProgramInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplAssociatedTokenAccount: Create\n type SplAssociatedTokenCreateInstructionData {\n account: Account\n mint: String\n source: Account\n systemProgram: Account\n tokenProgram: Account\n wallet: Account\n }\n type SplAssociatedTokenCreateInstruction implements TransactionInstruction {\n data: SplAssociatedTokenCreateInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplAssociatedTokenAccount: CreateIdempotent\n type SplAssociatedTokenCreateIdempotentInstructionData {\n account: Account\n mint: String\n source: Account\n systemProgram: Account\n tokenProgram: Account\n wallet: Account\n }\n type SplAssociatedTokenCreateIdempotentInstruction implements TransactionInstruction {\n data: SplAssociatedTokenCreateIdempotentInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplAssociatedTokenAccount: RecoverNested\n type SplAssociatedTokenRecoverNestedInstructionData {\n destination: Account\n nestedMint: Account\n nestedOwner: Account\n nestedSource: Account\n ownerMint: Account\n tokenProgram: Account\n wallet: Account\n }\n type SplAssociatedTokenRecoverNestedInstruction implements TransactionInstruction {\n data: SplAssociatedTokenRecoverNestedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplMemo\n type SplMemoInstructionData {\n data: String\n }\n type SplMemoInstruction implements TransactionInstruction {\n data: SplMemoInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: InitializeMint\n type SplTokenInitializeMintInstructionData {\n decimals: BigInt # FIXME:*\n freezeAuthority: Account\n mint: Account\n mintAuthority: Account\n rentSysvar: String\n }\n type SplTokenInitializeMintInstruction implements TransactionInstruction {\n data: SplTokenInitializeMintInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: InitializeMint2\n type SplTokenInitializeMint2InstructionData {\n decimals: BigInt # FIXME:*\n freezeAuthority: Account\n mint: Account\n mintAuthority: Account\n }\n type SplTokenInitializeMint2Instruction implements TransactionInstruction {\n data: SplTokenInitializeMint2InstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: InitializeAccount\n type SplTokenInitializeAccountInstructionData {\n account: Account\n mint: Account\n owner: Account\n rentSysvar: String\n }\n type SplTokenInitializeAccountInstruction implements TransactionInstruction {\n data: SplTokenInitializeAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: InitializeAccount2\n type SplTokenInitializeAccount2InstructionData {\n account: Account\n mint: Account\n owner: Account\n rentSysvar: String\n }\n type SplTokenInitializeAccount2Instruction implements TransactionInstruction {\n data: SplTokenInitializeAccount2InstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: InitializeAccount3\n type SplTokenInitializeAccount3InstructionData {\n account: Account\n mint: Account\n owner: Account\n }\n type SplTokenInitializeAccount3Instruction implements TransactionInstruction {\n data: SplTokenInitializeAccount3InstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: InitializeMultisig\n type SplTokenInitializeMultisigInstructionData {\n m: BigInt # FIXME:*\n multisig: Account\n rentSysvar: String\n signers: [String]\n }\n type SplTokenInitializeMultisigInstruction implements TransactionInstruction {\n data: SplTokenInitializeMultisigInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: InitializeMultisig2\n type SplTokenInitializeMultisig2InstructionData {\n m: BigInt # FIXME:*\n multisig: Account\n signers: [String]\n }\n type SplTokenInitializeMultisig2Instruction implements TransactionInstruction {\n data: SplTokenInitializeMultisig2InstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: Transfer\n type SplTokenTransferInstructionData {\n amount: String\n authority: Account\n destination: Account\n multisigAuthority: Account\n source: Account\n }\n type SplTokenTransferInstruction implements TransactionInstruction {\n data: SplTokenTransferInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: Approve\n type SplTokenApproveInstructionData {\n amount: String\n delegate: Account\n multisigOwner: Account\n owner: Account\n source: Account\n }\n type SplTokenApproveInstruction implements TransactionInstruction {\n data: SplTokenApproveInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: Revoke\n type SplTokenRevokeInstructionData {\n multisigOwner: Account\n owner: Account\n source: Account\n }\n type SplTokenRevokeInstruction implements TransactionInstruction {\n data: SplTokenRevokeInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: SetAuthority\n type SplTokenSetAuthorityInstructionData {\n authority: Account\n authorityType: String\n multisigAuthority: Account\n newAuthority: Account\n }\n type SplTokenSetAuthorityInstruction implements TransactionInstruction {\n data: SplTokenSetAuthorityInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: MintTo\n type SplTokenMintToInstructionData {\n account: Account\n amount: String\n authority: Account\n mint: Account\n mintAuthority: Account\n multisigMintAuthority: Account\n }\n type SplTokenMintToInstruction implements TransactionInstruction {\n data: SplTokenMintToInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: Burn\n type SplTokenBurnInstructionData {\n account: Account\n amount: String\n authority: Account\n mint: Account\n multisigAuthority: Account\n }\n type SplTokenBurnInstruction implements TransactionInstruction {\n data: SplTokenBurnInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: CloseAccount\n type SplTokenCloseAccountInstructionData {\n account: Account\n destination: Account\n multisigOwner: Account\n owner: Account\n }\n type SplTokenCloseAccountInstruction implements TransactionInstruction {\n data: SplTokenCloseAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: FreezeAccount\n type SplTokenFreezeAccountInstructionData {\n account: Account\n freezeAuthority: Account\n mint: Account\n multisigFreezeAuthority: Account\n }\n type SplTokenFreezeAccountInstruction implements TransactionInstruction {\n data: SplTokenFreezeAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: ThawAccount\n type SplTokenThawAccountInstructionData {\n account: Account\n freezeAuthority: Account\n mint: Account\n multisigFreezeAuthority: Account\n }\n type SplTokenThawAccountInstruction implements TransactionInstruction {\n data: SplTokenThawAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: TransferChecked\n type SplTokenTransferCheckedInstructionData {\n amount: String\n authority: Account\n decimals: BigInt # FIXME:*\n destination: Account\n mint: Account\n multisigAuthority: Account\n source: Account\n tokenAmount: String\n }\n type SplTokenTransferCheckedInstruction implements TransactionInstruction {\n data: SplTokenTransferCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: ApproveChecked\n type SplTokenApproveCheckedInstructionData {\n delegate: Account\n mint: Account\n multisigOwner: Account\n owner: Account\n source: Account\n tokenAmount: String\n }\n type SplTokenApproveCheckedInstruction implements TransactionInstruction {\n data: SplTokenApproveCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: MintToChecked\n type SplTokenMintToCheckedInstructionData {\n account: Account\n authority: Account\n mint: Account\n mintAuthority: Account\n multisigMintAuthority: Account\n tokenAmount: String\n }\n type SplTokenMintToCheckedInstruction implements TransactionInstruction {\n data: SplTokenMintToCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: BurnChecked\n type SplTokenBurnCheckedInstructionData {\n account: Account\n authority: Account\n mint: Account\n multisigAuthority: Account\n tokenAmount: String\n }\n type SplTokenBurnCheckedInstruction implements TransactionInstruction {\n data: SplTokenBurnCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: SyncNative\n type SplTokenSyncNativeInstructionData {\n account: Account\n }\n type SplTokenSyncNativeInstruction implements TransactionInstruction {\n data: SplTokenSyncNativeInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: GetAccountDataSize\n type SplTokenGetAccountDataSizeInstructionData {\n extensionTypes: [String]\n mint: Account\n }\n type SplTokenGetAccountDataSizeInstruction implements TransactionInstruction {\n data: SplTokenGetAccountDataSizeInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: InitializeImmutableOwner\n type SplTokenInitializeImmutableOwnerInstructionData {\n account: Account\n }\n type SplTokenInitializeImmutableOwnerInstruction implements TransactionInstruction {\n data: SplTokenInitializeImmutableOwnerInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: AmountToUiAmount\n type SplTokenAmountToUiAmountInstructionData {\n amount: String\n mint: Account\n }\n type SplTokenAmountToUiAmountInstruction implements TransactionInstruction {\n data: SplTokenAmountToUiAmountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: UiAmountToAmount\n type SplTokenUiAmountToAmountInstructionData {\n mint: Account\n uiAmount: String\n }\n type SplTokenUiAmountToAmountInstruction implements TransactionInstruction {\n data: SplTokenUiAmountToAmountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # SplToken: InitializeMintCloseAuthority\n type SplTokenInitializeMintCloseAuthorityInstructionData {\n mint: Account\n newAuthority: Account\n }\n type SplTokenInitializeMintCloseAuthorityInstruction implements TransactionInstruction {\n data: SplTokenInitializeMintCloseAuthorityInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # TODO: Extensions!\n # - TransferFeeExtension\n # - ConfidentialTransferFeeExtension\n # - DefaultAccountStateExtension\n # - Reallocate\n # - MemoTransferExtension\n # - CreateNativeMint\n # - InitializeNonTransferableMint\n # - InterestBearingMintExtension\n # - CpiGuardExtension\n # - InitializePermanentDelegate\n # - TransferHookExtension\n # - ConfidentialTransferFeeExtension\n # - WithdrawExcessLamports\n # - MetadataPointerExtension\n\n type Lockup {\n custodian: Account\n epoch: BigInt\n unixTimestamp: BigInt\n }\n\n # Stake: Initialize\n type StakeInitializeInstructionDataAuthorized {\n staker: Account\n withdrawer: Account\n }\n type StakeInitializeInstructionData {\n authorized: StakeInitializeInstructionDataAuthorized\n lockup: Lockup\n rentSysvar: String\n stakeAccount: Account\n }\n type StakeInitializeInstruction implements TransactionInstruction {\n data: StakeInitializeInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: Authorize\n type StakeAuthorizeInstructionData {\n authority: Account\n authorityType: String\n clockSysvar: String\n custodian: Account\n newAuthority: Account\n stakeAccount: Account\n }\n type StakeAuthorizeInstruction implements TransactionInstruction {\n data: StakeAuthorizeInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: DelegateStake\n type StakeDelegateStakeInstructionData {\n clockSysvar: String\n stakeAccount: Account\n stakeAuthority: Account\n stakeConfigAccount: Account\n stakeHistorySysvar: String\n voteAccount: Account\n }\n type StakeDelegateStakeInstruction implements TransactionInstruction {\n data: StakeDelegateStakeInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: Split\n type StakeSplitInstructionData {\n lamports: BigInt\n newSplitAccount: Account\n stakeAccount: Account\n stakeAuthority: Account\n }\n type StakeSplitInstruction implements TransactionInstruction {\n data: StakeSplitInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: Withdraw\n type StakeWithdrawInstructionData {\n clockSysvar: String\n destination: Account\n lamports: BigInt\n stakeAccount: Account\n withdrawAuthority: Account\n }\n type StakeWithdrawInstruction implements TransactionInstruction {\n data: StakeWithdrawInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: Deactivate\n type StakeDeactivateInstructionData {\n clockSysvar: String\n stakeAccount: Account\n stakeAuthority: Account\n }\n type StakeDeactivateInstruction implements TransactionInstruction {\n data: StakeDeactivateInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: SetLockup\n type StakeSetLockupInstructionData {\n custodian: Account\n lockup: Lockup\n stakeAccount: Account\n }\n type StakeSetLockupInstruction implements TransactionInstruction {\n data: StakeSetLockupInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: Merge\n type StakeMergeInstructionData {\n clockSysvar: String\n destination: Account\n source: Account\n stakeAuthority: Account\n stakeHistorySysvar: String\n }\n type StakeMergeInstruction implements TransactionInstruction {\n data: StakeMergeInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: AuthorizeWithSeed\n type StakeAuthorizeWithSeedInstructionData {\n authorityBase: Account\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: String\n custodian: Account\n newAuthorized: Account\n stakeAccount: Account\n }\n type StakeAuthorizeWithSeedInstruction implements TransactionInstruction {\n data: StakeAuthorizeWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: InitializeChecked\n type StakeInitializeCheckedInstructionDataAuthorized {\n rentSysvar: String\n stakeAccount: Account\n staker: Account\n withdrawer: Account\n }\n type StakeInitializeCheckedInstruction implements TransactionInstruction {\n data: StakeInitializeCheckedInstructionDataAuthorized\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: AuthorizeChecked\n type StakeAuthorizeCheckedInstructionData {\n authority: Account\n authorityType: String\n clockSysvar: String\n custodian: Account\n newAuthority: Account\n stakeAccount: Account\n }\n type StakeAuthorizeCheckedInstruction implements TransactionInstruction {\n data: StakeAuthorizeCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: AuthorizeCheckedWithSeed\n type StakeAuthorizeCheckedWithSeedInstructionData {\n authorityBase: Account\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: String\n custodian: Account\n newAuthorized: Account\n stakeAccount: Account\n }\n type StakeAuthorizeCheckedWithSeedInstruction implements TransactionInstruction {\n data: StakeAuthorizeCheckedWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: SetLockupChecked\n type StakeSetLockupCheckedInstructionData {\n custodian: Account\n lockup: Lockup\n stakeAccount: Account\n }\n type StakeSetLockupCheckedInstruction implements TransactionInstruction {\n data: StakeSetLockupCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: DeactivateDelinquent\n type StakeDeactivateDelinquentInstructionData {\n referenceVoteAccount: Account\n stakeAccount: Account\n voteAccount: Account\n }\n type StakeDeactivateDelinquentInstruction implements TransactionInstruction {\n data: StakeDeactivateDelinquentInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Stake: Redelegate\n type StakeRedelegateInstructionData {\n newStakeAccount: Account\n stakeAccount: Account\n stakeAuthority: Account\n stakeConfigAccount: Account\n voteAccount: Account\n }\n type StakeRedelegateInstruction implements TransactionInstruction {\n data: StakeRedelegateInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: CreateAccount\n type CreateAccountInstructionData {\n lamports: BigInt\n newAccount: Account\n owner: Account\n source: Account\n space: BigInt\n }\n type CreateAccountInstruction implements TransactionInstruction {\n data: CreateAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: Assign\n type AssignInstructionData {\n account: Account\n owner: Account\n }\n type AssignInstruction implements TransactionInstruction {\n data: AssignInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: Transfer\n type TransferInstructionData {\n destination: Account\n lamports: BigInt\n source: Account\n }\n type TransferInstruction implements TransactionInstruction {\n data: TransferInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: CreateAccountWithSeed\n type CreateAccountWithSeedInstructionData {\n base: Account\n lamports: BigInt\n owner: Account\n seed: String\n space: BigInt\n }\n type CreateAccountWithSeedInstruction implements TransactionInstruction {\n data: CreateAccountWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: AdvanceNonceAccount\n type AdvanceNonceAccountInstructionData {\n nonceAccount: Account\n nonceAuthority: Account\n recentBlockhashesSysvar: String\n }\n type AdvanceNonceAccountInstruction implements TransactionInstruction {\n data: AdvanceNonceAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: WithdrawNonceAccount\n type WithdrawNonceAccountInstructionData {\n destination: Account\n lamports: BigInt\n nonceAccount: Account\n nonceAuthority: Account\n recentBlockhashesSysvar: String\n rentSysvar: String\n }\n type WithdrawNonceAccountInstruction implements TransactionInstruction {\n data: WithdrawNonceAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: InitializeNonceAccount\n type InitializeNonceAccountInstructionData {\n nonceAccount: Account\n nonceAuthority: Account\n recentBlockhashesSysvar: String\n rentSysvar: String\n }\n type InitializeNonceAccountInstruction implements TransactionInstruction {\n data: InitializeNonceAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: AuthorizeNonceAccount\n type AuthorizeNonceAccountInstructionData {\n newAuthorized: Account\n nonceAccount: Account\n nonceAuthority: Account\n }\n type AuthorizeNonceAccountInstruction implements TransactionInstruction {\n data: AuthorizeNonceAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: UpgradeNonceAccount\n type UpgradeNonceAccountInstructionData {\n nonceAccount: Account\n nonceAuthority: Account\n }\n type UpgradeNonceAccountInstruction implements TransactionInstruction {\n data: UpgradeNonceAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: Allocate\n type AllocateInstructionData {\n account: Account\n space: BigInt\n }\n type AllocateInstruction implements TransactionInstruction {\n data: AllocateInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: AllocateWithSeed\n type AllocateWithSeedInstructionData {\n account: Account\n base: String\n owner: Account\n seed: String\n space: BigInt\n }\n type AllocateWithSeedInstruction implements TransactionInstruction {\n data: AllocateWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: AssignWithSeed\n type AssignWithSeedInstructionData {\n account: Account\n base: String\n owner: Account\n seed: String\n }\n type AssignWithSeedInstruction implements TransactionInstruction {\n data: AssignWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # System: TransferWithSeed\n type TransferWithSeedInstructionData {\n destination: Account\n lamports: BigInt\n source: Account\n sourceBase: String\n sourceOwner: Account\n sourceSeed: String\n }\n type TransferWithSeedInstruction implements TransactionInstruction {\n data: TransferWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: InitializeAccount\n type VoteInitializeAccountInstructionData {\n authorizedVoter: Account\n authorizedWithdrawer: Account\n clockSysvar: String\n commission: BigInt # FIXME:*\n node: Account\n rentSysvar: String\n voteAccount: Account\n }\n type VoteInitializeAccountInstruction implements TransactionInstruction {\n data: VoteInitializeAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: Authorize\n type VoteAuthorizeInstructionData {\n authority: Account\n authorityType: String\n clockSysvar: String\n newAuthority: Account\n voteAccount: Account\n }\n type VoteAuthorizeInstruction implements TransactionInstruction {\n data: VoteAuthorizeInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: AuthorizeWithSeed\n type VoteAuthorizeWithSeedInstructionData {\n authorityBaseKey: String\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: String\n newAuthority: Account\n voteAccount: Account\n }\n type VoteAuthorizeWithSeedInstruction implements TransactionInstruction {\n data: VoteAuthorizeWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: AuthorizeCheckedWithSeed\n type VoteAuthorizeCheckedWithSeedInstructionData {\n authorityBaseKey: String\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: String\n newAuthority: Account\n voteAccount: Account\n }\n type VoteAuthorizeCheckedWithSeedInstruction implements TransactionInstruction {\n data: VoteAuthorizeCheckedWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n type Vote {\n hash: String\n slots: [BigInt]\n timestamp: BigInt\n }\n\n # Vote: Vote\n type VoteVoteInstructionData {\n clockSysvar: String\n slotHashesSysvar: String\n vote: Vote\n voteAccount: Account\n voteAuthority: Account\n }\n type VoteVoteInstruction implements TransactionInstruction {\n data: VoteVoteInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n type VoteStateUpdateLockout {\n confirmationCount: BigInt # FIXME:*\n slot: BigInt\n }\n type VoteStateUpdate {\n hash: String\n lockouts: [VoteStateUpdateLockout]\n root: BigInt\n timestamp: BigInt\n }\n\n # Vote: UpdateVoteState\n type VoteUpdateVoteStateInstructionData {\n hash: String\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n type VoteUpdateVoteStateInstruction implements TransactionInstruction {\n data: VoteUpdateVoteStateInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: UpdateVoteStateSwitch\n type VoteUpdateVoteStateSwitchInstructionData {\n hash: String\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n type VoteUpdateVoteStateSwitchInstruction implements TransactionInstruction {\n data: VoteUpdateVoteStateSwitchInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: CompactUpdateVoteState\n type VoteCompactUpdateVoteStateInstructionData {\n hash: String\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n type VoteCompactUpdateVoteStateInstruction implements TransactionInstruction {\n data: VoteCompactUpdateVoteStateInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: CompactUpdateVoteStateSwitch\n type VoteCompactUpdateVoteStateSwitchInstructionData {\n hash: String\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n type VoteCompactUpdateVoteStateSwitchInstruction implements TransactionInstruction {\n data: VoteCompactUpdateVoteStateSwitchInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: Withdraw\n type VoteWithdrawInstructionData {\n destination: Account\n lamports: BigInt\n voteAccount: Account\n withdrawAuthority: Account\n }\n type VoteWithdrawInstruction implements TransactionInstruction {\n data: VoteWithdrawInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: UpdateValidatorIdentity\n type VoteUpdateValidatorIdentityInstructionData {\n newValidatorIdentity: Account\n voteAccount: Account\n withdrawAuthority: Account\n }\n type VoteUpdateValidatorIdentityInstruction implements TransactionInstruction {\n data: VoteUpdateValidatorIdentityInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: UpdateCommission\n type VoteUpdateCommissionInstructionData {\n commission: BigInt # FIXME:*\n voteAccount: Account\n withdrawAuthority: Account\n }\n type VoteUpdateCommissionInstruction implements TransactionInstruction {\n data: VoteUpdateCommissionInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: VoteSwitch\n type VoteVoteSwitchInstructionData {\n clockSysvar: String\n hash: String\n slotHashesSysvar: String\n vote: Vote\n voteAccount: Account\n voteAuthority: Account\n }\n type VoteVoteSwitchInstruction implements TransactionInstruction {\n data: VoteVoteSwitchInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n\n # Vote: AuthorizeChecked\n type VoteAuthorizeCheckedInstructionData {\n authority: Account\n authorityType: String\n clockSysvar: String\n newAuthority: Account\n voteAccount: Account\n }\n type VoteAuthorizeCheckedInstruction implements TransactionInstruction {\n data: VoteAuthorizeCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: String\n }\n";
|
|
1
|
+
export declare const instructionTypeDefs = "\n type JsonParsedInstructionMeta {\n program: String\n type: String\n }\n\n # Transaction instruction interface\n interface TransactionInstruction {\n programId: Address\n }\n\n # Generic transaction instruction\n type GenericInstruction implements TransactionInstruction {\n accounts: [Address]\n data: Base64EncodedBytes\n programId: Address\n }\n\n # AddressLookupTable: CreateLookupTable\n type CreateLookupTableInstructionData {\n bumpSeed: BigInt # FIXME:*\n lookupTableAccount: Account\n lookupTableAuthority: Account\n payerAccount: Account\n recentSlot: BigInt\n systemProgram: Account\n }\n type CreateLookupTableInstruction implements TransactionInstruction {\n data: CreateLookupTableInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # AddressLookupTable: ExtendLookupTable\n type ExtendLookupTableInstructionData {\n lookupTableAccount: Account\n lookupTableAuthority: Account\n newAddresses: [Address]\n payerAccount: Account\n systemProgram: Account\n }\n type ExtendLookupTableInstruction implements TransactionInstruction {\n data: ExtendLookupTableInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # AddressLookupTable: FreezeLookupTable\n type FreezeLookupTableInstructionData {\n lookupTableAccount: Account\n lookupTableAuthority: Account\n }\n type FreezeLookupTableInstruction implements TransactionInstruction {\n data: FreezeLookupTableInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # AddressLookupTable: DeactivateLookupTable\n type DeactivateLookupTableInstructionData {\n lookupTableAccount: Account\n lookupTableAuthority: Account\n }\n type DeactivateLookupTableInstruction implements TransactionInstruction {\n data: DeactivateLookupTableInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # AddressLookupTable: CloseLookupTable\n type CloseLookupTableInstructionData {\n lookupTableAccount: Account\n lookupTableAuthority: Account\n recipient: Account\n }\n type CloseLookupTableInstruction implements TransactionInstruction {\n data: CloseLookupTableInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # BpfLoader: Write\n type BpfLoaderWriteInstructionData {\n account: Account\n bytes: Base64EncodedBytes\n offset: BigInt # FIXME:*\n }\n type BpfLoaderWriteInstruction implements TransactionInstruction {\n data: BpfLoaderWriteInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # BpfLoader: Finalize\n type BpfLoaderFinalizeInstructionData {\n account: Account\n }\n type BpfLoaderFinalizeInstruction implements TransactionInstruction {\n data: BpfLoaderFinalizeInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # BpfUpgradeableLoader: InitializeBuffer\n type BpfUpgradeableLoaderInitializeBufferInstructionData {\n account: Account\n }\n type BpfUpgradeableLoaderInitializeBufferInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderInitializeBufferInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # BpfUpgradeableLoader: Write\n type BpfUpgradeableLoaderWriteInstructionData {\n account: Account\n authority: Account\n bytes: Base64EncodedBytes\n offset: BigInt # FIXME:*\n }\n type BpfUpgradeableLoaderWriteInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderWriteInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # BpfUpgradeableLoader: DeployWithMaxDataLen\n type BpfUpgradeableLoaderDeployWithMaxDataLenInstructionData {\n authority: Account\n bufferAccount: Account\n clockSysvar: Address\n maxDataLen: BigInt\n payerAccount: Account\n programAccount: Account\n programDataAccount: Account\n rentSysvar: Address\n }\n type BpfUpgradeableLoaderDeployWithMaxDataLenInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderDeployWithMaxDataLenInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # BpfUpgradeableLoader: Upgrade\n type BpfUpgradeableLoaderUpgradeInstructionData {\n authority: Account\n bufferAccount: Account\n clockSysvar: Address\n programAccount: Account\n programDataAccount: Account\n rentSysvar: Address\n spillAccount: Account\n }\n type BpfUpgradeableLoaderUpgradeInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderUpgradeInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # BpfUpgradeableLoader: SetAuthority\n type BpfUpgradeableLoaderSetAuthorityInstructionData {\n account: Account\n authority: Account\n newAuthority: Account\n }\n type BpfUpgradeableLoaderSetAuthorityInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderSetAuthorityInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # BpfUpgradeableLoader: SetAuthorityChecked\n type BpfUpgradeableLoaderSetAuthorityCheckedInstructionData {\n account: Account\n authority: Account\n newAuthority: Account\n }\n type BpfUpgradeableLoaderSetAuthorityCheckedInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderSetAuthorityCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # BpfUpgradeableLoader: Close\n type BpfUpgradeableLoaderCloseInstructionData {\n account: Account\n authority: Account\n programAccount: Account\n recipient: Account\n }\n type BpfUpgradeableLoaderCloseInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderCloseInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # BpfUpgradeableLoader: ExtendProgram\n type BpfUpgradeableLoaderExtendProgramInstructionData {\n additionalBytes: BigInt\n payerAccount: Account\n programAccount: Account\n programDataAccount: Account\n systemProgram: Account\n }\n type BpfUpgradeableLoaderExtendProgramInstruction implements TransactionInstruction {\n data: BpfUpgradeableLoaderExtendProgramInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplAssociatedTokenAccount: Create\n type SplAssociatedTokenCreateInstructionData {\n account: Account\n mint: Address\n source: Account\n systemProgram: Account\n tokenProgram: Account\n wallet: Account\n }\n type SplAssociatedTokenCreateInstruction implements TransactionInstruction {\n data: SplAssociatedTokenCreateInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplAssociatedTokenAccount: CreateIdempotent\n type SplAssociatedTokenCreateIdempotentInstructionData {\n account: Account\n mint: Address\n source: Account\n systemProgram: Account\n tokenProgram: Account\n wallet: Account\n }\n type SplAssociatedTokenCreateIdempotentInstruction implements TransactionInstruction {\n data: SplAssociatedTokenCreateIdempotentInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplAssociatedTokenAccount: RecoverNested\n type SplAssociatedTokenRecoverNestedInstructionData {\n destination: Account\n nestedMint: Account\n nestedOwner: Account\n nestedSource: Account\n ownerMint: Account\n tokenProgram: Account\n wallet: Account\n }\n type SplAssociatedTokenRecoverNestedInstruction implements TransactionInstruction {\n data: SplAssociatedTokenRecoverNestedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplMemo\n type SplMemoInstructionData {\n data: String\n }\n type SplMemoInstruction implements TransactionInstruction {\n data: SplMemoInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: InitializeMint\n type SplTokenInitializeMintInstructionData {\n decimals: BigInt # FIXME:*\n freezeAuthority: Account\n mint: Account\n mintAuthority: Account\n rentSysvar: Address\n }\n type SplTokenInitializeMintInstruction implements TransactionInstruction {\n data: SplTokenInitializeMintInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: InitializeMint2\n type SplTokenInitializeMint2InstructionData {\n decimals: BigInt # FIXME:*\n freezeAuthority: Account\n mint: Account\n mintAuthority: Account\n }\n type SplTokenInitializeMint2Instruction implements TransactionInstruction {\n data: SplTokenInitializeMint2InstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: InitializeAccount\n type SplTokenInitializeAccountInstructionData {\n account: Account\n mint: Account\n owner: Account\n rentSysvar: Address\n }\n type SplTokenInitializeAccountInstruction implements TransactionInstruction {\n data: SplTokenInitializeAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: InitializeAccount2\n type SplTokenInitializeAccount2InstructionData {\n account: Account\n mint: Account\n owner: Account\n rentSysvar: Address\n }\n type SplTokenInitializeAccount2Instruction implements TransactionInstruction {\n data: SplTokenInitializeAccount2InstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: InitializeAccount3\n type SplTokenInitializeAccount3InstructionData {\n account: Account\n mint: Account\n owner: Account\n }\n type SplTokenInitializeAccount3Instruction implements TransactionInstruction {\n data: SplTokenInitializeAccount3InstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: InitializeMultisig\n type SplTokenInitializeMultisigInstructionData {\n m: BigInt # FIXME:*\n multisig: Account\n rentSysvar: Address\n signers: [Address]\n }\n type SplTokenInitializeMultisigInstruction implements TransactionInstruction {\n data: SplTokenInitializeMultisigInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: InitializeMultisig2\n type SplTokenInitializeMultisig2InstructionData {\n m: BigInt # FIXME:*\n multisig: Account\n signers: [Address]\n }\n type SplTokenInitializeMultisig2Instruction implements TransactionInstruction {\n data: SplTokenInitializeMultisig2InstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: Transfer\n type SplTokenTransferInstructionData {\n amount: String\n authority: Account\n destination: Account\n multisigAuthority: Account\n source: Account\n }\n type SplTokenTransferInstruction implements TransactionInstruction {\n data: SplTokenTransferInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: Approve\n type SplTokenApproveInstructionData {\n amount: String\n delegate: Account\n multisigOwner: Account\n owner: Account\n source: Account\n }\n type SplTokenApproveInstruction implements TransactionInstruction {\n data: SplTokenApproveInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: Revoke\n type SplTokenRevokeInstructionData {\n multisigOwner: Account\n owner: Account\n source: Account\n }\n type SplTokenRevokeInstruction implements TransactionInstruction {\n data: SplTokenRevokeInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: SetAuthority\n type SplTokenSetAuthorityInstructionData {\n authority: Account\n authorityType: String\n multisigAuthority: Account\n newAuthority: Account\n }\n type SplTokenSetAuthorityInstruction implements TransactionInstruction {\n data: SplTokenSetAuthorityInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: MintTo\n type SplTokenMintToInstructionData {\n account: Account\n amount: String\n authority: Account\n mint: Account\n mintAuthority: Account\n multisigMintAuthority: Account\n }\n type SplTokenMintToInstruction implements TransactionInstruction {\n data: SplTokenMintToInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: Burn\n type SplTokenBurnInstructionData {\n account: Account\n amount: String\n authority: Account\n mint: Account\n multisigAuthority: Account\n }\n type SplTokenBurnInstruction implements TransactionInstruction {\n data: SplTokenBurnInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: CloseAccount\n type SplTokenCloseAccountInstructionData {\n account: Account\n destination: Account\n multisigOwner: Account\n owner: Account\n }\n type SplTokenCloseAccountInstruction implements TransactionInstruction {\n data: SplTokenCloseAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: FreezeAccount\n type SplTokenFreezeAccountInstructionData {\n account: Account\n freezeAuthority: Account\n mint: Account\n multisigFreezeAuthority: Account\n }\n type SplTokenFreezeAccountInstruction implements TransactionInstruction {\n data: SplTokenFreezeAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: ThawAccount\n type SplTokenThawAccountInstructionData {\n account: Account\n freezeAuthority: Account\n mint: Account\n multisigFreezeAuthority: Account\n }\n type SplTokenThawAccountInstruction implements TransactionInstruction {\n data: SplTokenThawAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: TransferChecked\n type SplTokenTransferCheckedInstructionData {\n amount: String\n authority: Account\n decimals: BigInt # FIXME:*\n destination: Account\n mint: Account\n multisigAuthority: Account\n source: Account\n tokenAmount: String\n }\n type SplTokenTransferCheckedInstruction implements TransactionInstruction {\n data: SplTokenTransferCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: ApproveChecked\n type SplTokenApproveCheckedInstructionData {\n delegate: Account\n mint: Account\n multisigOwner: Account\n owner: Account\n source: Account\n tokenAmount: String\n }\n type SplTokenApproveCheckedInstruction implements TransactionInstruction {\n data: SplTokenApproveCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: MintToChecked\n type SplTokenMintToCheckedInstructionData {\n account: Account\n authority: Account\n mint: Account\n mintAuthority: Account\n multisigMintAuthority: Account\n tokenAmount: String\n }\n type SplTokenMintToCheckedInstruction implements TransactionInstruction {\n data: SplTokenMintToCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: BurnChecked\n type SplTokenBurnCheckedInstructionData {\n account: Account\n authority: Account\n mint: Account\n multisigAuthority: Account\n tokenAmount: String\n }\n type SplTokenBurnCheckedInstruction implements TransactionInstruction {\n data: SplTokenBurnCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: SyncNative\n type SplTokenSyncNativeInstructionData {\n account: Account\n }\n type SplTokenSyncNativeInstruction implements TransactionInstruction {\n data: SplTokenSyncNativeInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: GetAccountDataSize\n type SplTokenGetAccountDataSizeInstructionData {\n extensionTypes: [String]\n mint: Account\n }\n type SplTokenGetAccountDataSizeInstruction implements TransactionInstruction {\n data: SplTokenGetAccountDataSizeInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: InitializeImmutableOwner\n type SplTokenInitializeImmutableOwnerInstructionData {\n account: Account\n }\n type SplTokenInitializeImmutableOwnerInstruction implements TransactionInstruction {\n data: SplTokenInitializeImmutableOwnerInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: AmountToUiAmount\n type SplTokenAmountToUiAmountInstructionData {\n amount: String\n mint: Account\n }\n type SplTokenAmountToUiAmountInstruction implements TransactionInstruction {\n data: SplTokenAmountToUiAmountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: UiAmountToAmount\n type SplTokenUiAmountToAmountInstructionData {\n mint: Account\n uiAmount: String\n }\n type SplTokenUiAmountToAmountInstruction implements TransactionInstruction {\n data: SplTokenUiAmountToAmountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # SplToken: InitializeMintCloseAuthority\n type SplTokenInitializeMintCloseAuthorityInstructionData {\n mint: Account\n newAuthority: Account\n }\n type SplTokenInitializeMintCloseAuthorityInstruction implements TransactionInstruction {\n data: SplTokenInitializeMintCloseAuthorityInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # TODO: Extensions!\n # - TransferFeeExtension\n # - ConfidentialTransferFeeExtension\n # - DefaultAccountStateExtension\n # - Reallocate\n # - MemoTransferExtension\n # - CreateNativeMint\n # - InitializeNonTransferableMint\n # - InterestBearingMintExtension\n # - CpiGuardExtension\n # - InitializePermanentDelegate\n # - TransferHookExtension\n # - ConfidentialTransferFeeExtension\n # - WithdrawExcessLamports\n # - MetadataPointerExtension\n\n type Lockup {\n custodian: Account\n epoch: BigInt\n unixTimestamp: BigInt\n }\n\n # Stake: Initialize\n type StakeInitializeInstructionDataAuthorized {\n staker: Account\n withdrawer: Account\n }\n type StakeInitializeInstructionData {\n authorized: StakeInitializeInstructionDataAuthorized\n lockup: Lockup\n rentSysvar: Address\n stakeAccount: Account\n }\n type StakeInitializeInstruction implements TransactionInstruction {\n data: StakeInitializeInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: Authorize\n type StakeAuthorizeInstructionData {\n authority: Account\n authorityType: String\n clockSysvar: Address\n custodian: Account\n newAuthority: Account\n stakeAccount: Account\n }\n type StakeAuthorizeInstruction implements TransactionInstruction {\n data: StakeAuthorizeInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: DelegateStake\n type StakeDelegateStakeInstructionData {\n clockSysvar: Address\n stakeAccount: Account\n stakeAuthority: Account\n stakeConfigAccount: Account\n stakeHistorySysvar: Address\n voteAccount: Account\n }\n type StakeDelegateStakeInstruction implements TransactionInstruction {\n data: StakeDelegateStakeInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: Split\n type StakeSplitInstructionData {\n lamports: BigInt\n newSplitAccount: Account\n stakeAccount: Account\n stakeAuthority: Account\n }\n type StakeSplitInstruction implements TransactionInstruction {\n data: StakeSplitInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: Withdraw\n type StakeWithdrawInstructionData {\n clockSysvar: Address\n destination: Account\n lamports: BigInt\n stakeAccount: Account\n withdrawAuthority: Account\n }\n type StakeWithdrawInstruction implements TransactionInstruction {\n data: StakeWithdrawInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: Deactivate\n type StakeDeactivateInstructionData {\n clockSysvar: Address\n stakeAccount: Account\n stakeAuthority: Account\n }\n type StakeDeactivateInstruction implements TransactionInstruction {\n data: StakeDeactivateInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: SetLockup\n type StakeSetLockupInstructionData {\n custodian: Account\n lockup: Lockup\n stakeAccount: Account\n }\n type StakeSetLockupInstruction implements TransactionInstruction {\n data: StakeSetLockupInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: Merge\n type StakeMergeInstructionData {\n clockSysvar: Address\n destination: Account\n source: Account\n stakeAuthority: Account\n stakeHistorySysvar: Address\n }\n type StakeMergeInstruction implements TransactionInstruction {\n data: StakeMergeInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: AuthorizeWithSeed\n type StakeAuthorizeWithSeedInstructionData {\n authorityBase: Account\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: Address\n custodian: Account\n newAuthorized: Account\n stakeAccount: Account\n }\n type StakeAuthorizeWithSeedInstruction implements TransactionInstruction {\n data: StakeAuthorizeWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: InitializeChecked\n type StakeInitializeCheckedInstructionDataAuthorized {\n rentSysvar: Address\n stakeAccount: Account\n staker: Account\n withdrawer: Account\n }\n type StakeInitializeCheckedInstruction implements TransactionInstruction {\n data: StakeInitializeCheckedInstructionDataAuthorized\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: AuthorizeChecked\n type StakeAuthorizeCheckedInstructionData {\n authority: Account\n authorityType: String\n clockSysvar: Address\n custodian: Account\n newAuthority: Account\n stakeAccount: Account\n }\n type StakeAuthorizeCheckedInstruction implements TransactionInstruction {\n data: StakeAuthorizeCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: AuthorizeCheckedWithSeed\n type StakeAuthorizeCheckedWithSeedInstructionData {\n authorityBase: Account\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: Address\n custodian: Account\n newAuthorized: Account\n stakeAccount: Account\n }\n type StakeAuthorizeCheckedWithSeedInstruction implements TransactionInstruction {\n data: StakeAuthorizeCheckedWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: SetLockupChecked\n type StakeSetLockupCheckedInstructionData {\n custodian: Account\n lockup: Lockup\n stakeAccount: Account\n }\n type StakeSetLockupCheckedInstruction implements TransactionInstruction {\n data: StakeSetLockupCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: DeactivateDelinquent\n type StakeDeactivateDelinquentInstructionData {\n referenceVoteAccount: Account\n stakeAccount: Account\n voteAccount: Account\n }\n type StakeDeactivateDelinquentInstruction implements TransactionInstruction {\n data: StakeDeactivateDelinquentInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Stake: Redelegate\n type StakeRedelegateInstructionData {\n newStakeAccount: Account\n stakeAccount: Account\n stakeAuthority: Account\n stakeConfigAccount: Account\n voteAccount: Account\n }\n type StakeRedelegateInstruction implements TransactionInstruction {\n data: StakeRedelegateInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: CreateAccount\n type CreateAccountInstructionData {\n lamports: BigInt\n newAccount: Account\n owner: Account\n source: Account\n space: BigInt\n }\n type CreateAccountInstruction implements TransactionInstruction {\n data: CreateAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: Assign\n type AssignInstructionData {\n account: Account\n owner: Account\n }\n type AssignInstruction implements TransactionInstruction {\n data: AssignInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: Transfer\n type TransferInstructionData {\n destination: Account\n lamports: BigInt\n source: Account\n }\n type TransferInstruction implements TransactionInstruction {\n data: TransferInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: CreateAccountWithSeed\n type CreateAccountWithSeedInstructionData {\n base: Account\n lamports: BigInt\n owner: Account\n seed: String\n space: BigInt\n }\n type CreateAccountWithSeedInstruction implements TransactionInstruction {\n data: CreateAccountWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: AdvanceNonceAccount\n type AdvanceNonceAccountInstructionData {\n nonceAccount: Account\n nonceAuthority: Account\n recentBlockhashesSysvar: Address\n }\n type AdvanceNonceAccountInstruction implements TransactionInstruction {\n data: AdvanceNonceAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: WithdrawNonceAccount\n type WithdrawNonceAccountInstructionData {\n destination: Account\n lamports: BigInt\n nonceAccount: Account\n nonceAuthority: Account\n recentBlockhashesSysvar: Address\n rentSysvar: Address\n }\n type WithdrawNonceAccountInstruction implements TransactionInstruction {\n data: WithdrawNonceAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: InitializeNonceAccount\n type InitializeNonceAccountInstructionData {\n nonceAccount: Account\n nonceAuthority: Account\n recentBlockhashesSysvar: Address\n rentSysvar: Address\n }\n type InitializeNonceAccountInstruction implements TransactionInstruction {\n data: InitializeNonceAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: AuthorizeNonceAccount\n type AuthorizeNonceAccountInstructionData {\n newAuthorized: Account\n nonceAccount: Account\n nonceAuthority: Account\n }\n type AuthorizeNonceAccountInstruction implements TransactionInstruction {\n data: AuthorizeNonceAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: UpgradeNonceAccount\n type UpgradeNonceAccountInstructionData {\n nonceAccount: Account\n nonceAuthority: Account\n }\n type UpgradeNonceAccountInstruction implements TransactionInstruction {\n data: UpgradeNonceAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: Allocate\n type AllocateInstructionData {\n account: Account\n space: BigInt\n }\n type AllocateInstruction implements TransactionInstruction {\n data: AllocateInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: AllocateWithSeed\n type AllocateWithSeedInstructionData {\n account: Account\n base: Address\n owner: Account\n seed: String\n space: BigInt\n }\n type AllocateWithSeedInstruction implements TransactionInstruction {\n data: AllocateWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: AssignWithSeed\n type AssignWithSeedInstructionData {\n account: Account\n base: Address\n owner: Account\n seed: String\n }\n type AssignWithSeedInstruction implements TransactionInstruction {\n data: AssignWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # System: TransferWithSeed\n type TransferWithSeedInstructionData {\n destination: Account\n lamports: BigInt\n source: Account\n sourceBase: Address\n sourceOwner: Account\n sourceSeed: String\n }\n type TransferWithSeedInstruction implements TransactionInstruction {\n data: TransferWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: InitializeAccount\n type VoteInitializeAccountInstructionData {\n authorizedVoter: Account\n authorizedWithdrawer: Account\n clockSysvar: Address\n commission: BigInt # FIXME:*\n node: Account\n rentSysvar: Address\n voteAccount: Account\n }\n type VoteInitializeAccountInstruction implements TransactionInstruction {\n data: VoteInitializeAccountInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: Authorize\n type VoteAuthorizeInstructionData {\n authority: Account\n authorityType: String\n clockSysvar: Address\n newAuthority: Account\n voteAccount: Account\n }\n type VoteAuthorizeInstruction implements TransactionInstruction {\n data: VoteAuthorizeInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: AuthorizeWithSeed\n type VoteAuthorizeWithSeedInstructionData {\n authorityBaseKey: Address\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: Address\n newAuthority: Account\n voteAccount: Account\n }\n type VoteAuthorizeWithSeedInstruction implements TransactionInstruction {\n data: VoteAuthorizeWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: AuthorizeCheckedWithSeed\n type VoteAuthorizeCheckedWithSeedInstructionData {\n authorityBaseKey: Address\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: Address\n newAuthority: Account\n voteAccount: Account\n }\n type VoteAuthorizeCheckedWithSeedInstruction implements TransactionInstruction {\n data: VoteAuthorizeCheckedWithSeedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n type Vote {\n hash: String\n slots: [BigInt]\n timestamp: BigInt\n }\n\n # Vote: Vote\n type VoteVoteInstructionData {\n clockSysvar: Address\n slotHashesSysvar: Address\n vote: Vote\n voteAccount: Account\n voteAuthority: Account\n }\n type VoteVoteInstruction implements TransactionInstruction {\n data: VoteVoteInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n type VoteStateUpdateLockout {\n confirmationCount: BigInt # FIXME:*\n slot: BigInt\n }\n type VoteStateUpdate {\n hash: String\n lockouts: [VoteStateUpdateLockout]\n root: BigInt\n timestamp: BigInt\n }\n\n # Vote: UpdateVoteState\n type VoteUpdateVoteStateInstructionData {\n hash: String\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n type VoteUpdateVoteStateInstruction implements TransactionInstruction {\n data: VoteUpdateVoteStateInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: UpdateVoteStateSwitch\n type VoteUpdateVoteStateSwitchInstructionData {\n hash: String\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n type VoteUpdateVoteStateSwitchInstruction implements TransactionInstruction {\n data: VoteUpdateVoteStateSwitchInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: CompactUpdateVoteState\n type VoteCompactUpdateVoteStateInstructionData {\n hash: String\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n type VoteCompactUpdateVoteStateInstruction implements TransactionInstruction {\n data: VoteCompactUpdateVoteStateInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: CompactUpdateVoteStateSwitch\n type VoteCompactUpdateVoteStateSwitchInstructionData {\n hash: String\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n type VoteCompactUpdateVoteStateSwitchInstruction implements TransactionInstruction {\n data: VoteCompactUpdateVoteStateSwitchInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: Withdraw\n type VoteWithdrawInstructionData {\n destination: Account\n lamports: BigInt\n voteAccount: Account\n withdrawAuthority: Account\n }\n type VoteWithdrawInstruction implements TransactionInstruction {\n data: VoteWithdrawInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: UpdateValidatorIdentity\n type VoteUpdateValidatorIdentityInstructionData {\n newValidatorIdentity: Account\n voteAccount: Account\n withdrawAuthority: Account\n }\n type VoteUpdateValidatorIdentityInstruction implements TransactionInstruction {\n data: VoteUpdateValidatorIdentityInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: UpdateCommission\n type VoteUpdateCommissionInstructionData {\n commission: BigInt # FIXME:*\n voteAccount: Account\n withdrawAuthority: Account\n }\n type VoteUpdateCommissionInstruction implements TransactionInstruction {\n data: VoteUpdateCommissionInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: VoteSwitch\n type VoteVoteSwitchInstructionData {\n clockSysvar: Address\n hash: String\n slotHashesSysvar: Address\n vote: Vote\n voteAccount: Account\n voteAuthority: Account\n }\n type VoteVoteSwitchInstruction implements TransactionInstruction {\n data: VoteVoteSwitchInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n\n # Vote: AuthorizeChecked\n type VoteAuthorizeCheckedInstructionData {\n authority: Account\n authorityType: String\n clockSysvar: Address\n newAuthority: Account\n voteAccount: Account\n }\n type VoteAuthorizeCheckedInstruction implements TransactionInstruction {\n data: VoteAuthorizeCheckedInstructionData\n meta: JsonParsedInstructionMeta\n programId: Address\n }\n";
|
|
2
2
|
export declare const instructionResolvers: {
|
|
3
3
|
TransactionInstruction: {
|
|
4
4
|
__resolveType(instruction: {
|
|
@@ -5,7 +5,7 @@ export type TransactionQueryArgs = {
|
|
|
5
5
|
commitment?: Commitment;
|
|
6
6
|
encoding?: 'base58' | 'base64' | 'jsonParsed';
|
|
7
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:
|
|
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
9
|
export declare const transactionResolvers: {
|
|
10
10
|
Transaction: {
|
|
11
11
|
__resolveType(transaction: {
|
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.af584fc",
|
|
4
4
|
"description": "A library for resolving GraphQl query calls to the Solana JSON RPC API",
|
|
5
5
|
"exports": {
|
|
6
6
|
"browser": {
|
|
@@ -67,18 +67,18 @@
|
|
|
67
67
|
"jest-runner-eslint": "^2.1.2",
|
|
68
68
|
"jest-runner-prettier": "^1.0.0",
|
|
69
69
|
"prettier": "^2.8",
|
|
70
|
-
"tsup": "
|
|
70
|
+
"tsup": "^8.0.1",
|
|
71
71
|
"typescript": "^5.1.6",
|
|
72
72
|
"version-from-git": "^1.1.1",
|
|
73
|
-
"@solana/
|
|
74
|
-
"@solana/rpc-core": "2.0.0-experimental.
|
|
75
|
-
"@solana/
|
|
76
|
-
"@solana/rpc-transport": "2.0.0-experimental.
|
|
77
|
-
"@solana/rpc-types": "2.0.0-experimental.
|
|
73
|
+
"@solana/keys": "2.0.0-experimental.af584fc",
|
|
74
|
+
"@solana/rpc-core": "2.0.0-experimental.af584fc",
|
|
75
|
+
"@solana/addresses": "2.0.0-experimental.af584fc",
|
|
76
|
+
"@solana/rpc-transport": "2.0.0-experimental.af584fc",
|
|
77
|
+
"@solana/rpc-types": "2.0.0-experimental.af584fc",
|
|
78
|
+
"@solana/transactions": "2.0.0-experimental.af584fc",
|
|
78
79
|
"build-scripts": "0.0.0",
|
|
79
|
-
"
|
|
80
|
-
"test-config": "0.0.0"
|
|
81
|
-
"tsconfig": "0.0.0"
|
|
80
|
+
"tsconfig": "0.0.0",
|
|
81
|
+
"test-config": "0.0.0"
|
|
82
82
|
},
|
|
83
83
|
"bundlewatch": {
|
|
84
84
|
"defaultCompression": "gzip",
|
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
|