@solana/rpc-graphql 2.0.0-20241006045741

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.
Files changed (79) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +1127 -0
  3. package/dist/index.browser.cjs +5169 -0
  4. package/dist/index.browser.cjs.map +1 -0
  5. package/dist/index.browser.mjs +5159 -0
  6. package/dist/index.browser.mjs.map +1 -0
  7. package/dist/index.native.mjs +5159 -0
  8. package/dist/index.native.mjs.map +1 -0
  9. package/dist/index.node.cjs +5169 -0
  10. package/dist/index.node.cjs.map +1 -0
  11. package/dist/index.node.mjs +5159 -0
  12. package/dist/index.node.mjs.map +1 -0
  13. package/dist/types/context.d.ts +20 -0
  14. package/dist/types/context.d.ts.map +1 -0
  15. package/dist/types/index.d.ts +29 -0
  16. package/dist/types/index.d.ts.map +1 -0
  17. package/dist/types/loaders/account.d.ts +14 -0
  18. package/dist/types/loaders/account.d.ts.map +1 -0
  19. package/dist/types/loaders/block.d.ts +4 -0
  20. package/dist/types/loaders/block.d.ts.map +1 -0
  21. package/dist/types/loaders/coalescer.d.ts +55 -0
  22. package/dist/types/loaders/coalescer.d.ts.map +1 -0
  23. package/dist/types/loaders/index.d.ts +6 -0
  24. package/dist/types/loaders/index.d.ts.map +1 -0
  25. package/dist/types/loaders/loader.d.ts +85 -0
  26. package/dist/types/loaders/loader.d.ts.map +1 -0
  27. package/dist/types/loaders/program-accounts.d.ts +8 -0
  28. package/dist/types/loaders/program-accounts.d.ts.map +1 -0
  29. package/dist/types/loaders/transaction.d.ts +4 -0
  30. package/dist/types/loaders/transaction.d.ts.map +1 -0
  31. package/dist/types/resolvers/account.d.ts +36 -0
  32. package/dist/types/resolvers/account.d.ts.map +1 -0
  33. package/dist/types/resolvers/block.d.ts +68 -0
  34. package/dist/types/resolvers/block.d.ts.map +1 -0
  35. package/dist/types/resolvers/program-accounts.d.ts +21 -0
  36. package/dist/types/resolvers/program-accounts.d.ts.map +1 -0
  37. package/dist/types/resolvers/resolve-info/account.d.ts +15 -0
  38. package/dist/types/resolvers/resolve-info/account.d.ts.map +1 -0
  39. package/dist/types/resolvers/resolve-info/block.d.ts +13 -0
  40. package/dist/types/resolvers/resolve-info/block.d.ts.map +1 -0
  41. package/dist/types/resolvers/resolve-info/index.d.ts +6 -0
  42. package/dist/types/resolvers/resolve-info/index.d.ts.map +1 -0
  43. package/dist/types/resolvers/resolve-info/program-accounts.d.ts +23 -0
  44. package/dist/types/resolvers/resolve-info/program-accounts.d.ts.map +1 -0
  45. package/dist/types/resolvers/resolve-info/transaction.d.ts +15 -0
  46. package/dist/types/resolvers/resolve-info/transaction.d.ts.map +1 -0
  47. package/dist/types/resolvers/resolve-info/visitor.d.ts +18 -0
  48. package/dist/types/resolvers/resolve-info/visitor.d.ts.map +1 -0
  49. package/dist/types/resolvers/transaction.d.ts +38 -0
  50. package/dist/types/resolvers/transaction.d.ts.map +1 -0
  51. package/dist/types/schema/type-defs/account.d.ts +2 -0
  52. package/dist/types/schema/type-defs/account.d.ts.map +1 -0
  53. package/dist/types/schema/type-defs/block.d.ts +2 -0
  54. package/dist/types/schema/type-defs/block.d.ts.map +1 -0
  55. package/dist/types/schema/type-defs/index.d.ts +7 -0
  56. package/dist/types/schema/type-defs/index.d.ts.map +1 -0
  57. package/dist/types/schema/type-defs/instruction.d.ts +2 -0
  58. package/dist/types/schema/type-defs/instruction.d.ts.map +1 -0
  59. package/dist/types/schema/type-defs/root.d.ts +2 -0
  60. package/dist/types/schema/type-defs/root.d.ts.map +1 -0
  61. package/dist/types/schema/type-defs/transaction.d.ts +2 -0
  62. package/dist/types/schema/type-defs/transaction.d.ts.map +1 -0
  63. package/dist/types/schema/type-defs/types.d.ts +2 -0
  64. package/dist/types/schema/type-defs/types.d.ts.map +1 -0
  65. package/dist/types/schema/type-resolvers/account.d.ts +576 -0
  66. package/dist/types/schema/type-resolvers/account.d.ts.map +1 -0
  67. package/dist/types/schema/type-resolvers/block.d.ts +7 -0
  68. package/dist/types/schema/type-resolvers/block.d.ts.map +1 -0
  69. package/dist/types/schema/type-resolvers/index.d.ts +8 -0
  70. package/dist/types/schema/type-resolvers/index.d.ts.map +1 -0
  71. package/dist/types/schema/type-resolvers/instruction.d.ts +3549 -0
  72. package/dist/types/schema/type-resolvers/instruction.d.ts.map +1 -0
  73. package/dist/types/schema/type-resolvers/root.d.ts +3 -0
  74. package/dist/types/schema/type-resolvers/root.d.ts.map +1 -0
  75. package/dist/types/schema/type-resolvers/transaction.d.ts +8 -0
  76. package/dist/types/schema/type-resolvers/transaction.d.ts.map +1 -0
  77. package/dist/types/schema/type-resolvers/types.d.ts +154 -0
  78. package/dist/types/schema/type-resolvers/types.d.ts.map +1 -0
  79. package/package.json +90 -0
@@ -0,0 +1,2 @@
1
+ export declare const accountTypeDefs = "\n \"\"\"\n Token-2022 Extensions (Account State)\n \"\"\"\n interface SplTokenExtension {\n extension: String\n }\n\n \"\"\"\n Token-2022 Extension: Confidential Transfer Fee Config\n \"\"\"\n type SplTokenExtensionConfidentialTransferFeeConfig implements SplTokenExtension {\n extension: String\n authority: Account\n harvestToMintEnabled: Boolean\n withdrawWithheldAuthorityElgamalPubkey: Address\n withheldAmount: String\n }\n\n \"\"\"\n Token-2022 Extension: Confidential Transfer Mint\n \"\"\"\n type SplTokenExtensionConfidentialTransferMint implements SplTokenExtension {\n extension: String\n auditorElgamalPubkey: Address\n authority: Account\n autoApproveNewAccounts: Boolean\n }\n\n \"\"\"\n Token-2022 Extension: Default Account State\n \"\"\"\n type SplTokenExtensionDefaultAccountState implements SplTokenExtension {\n extension: String\n accountState: SplTokenDefaultAccountState\n }\n\n \"\"\"\n Token-2022 Extension: Group Pointer\n \"\"\"\n type SplTokenExtensionGroupPointer implements SplTokenExtension {\n extension: String\n authority: Account\n groupAddress: Account\n }\n\n \"\"\"\n Token-2022 Extension: Group Member Pointer\n \"\"\"\n type SplTokenExtensionGroupMemberPointer implements SplTokenExtension {\n extension: String\n authority: Account\n memberAddress: Account\n }\n\n \"\"\"\n Token-2022 Extension: Interest-Bearing Config\n \"\"\"\n type SplTokenExtensionInterestBearingConfig implements SplTokenExtension {\n extension: String\n currentRate: Int\n initializationTimestamp: BigInt\n lastUpdateTimestamp: BigInt\n preUpdateAverageRate: Int\n rateAuthority: Account\n }\n\n \"\"\"\n Token-2022 Extension: Metadata Pointer\n \"\"\"\n type SplTokenExtensionMetadataPointer implements SplTokenExtension {\n extension: String\n authority: Account\n metadataAddress: Account\n }\n\n \"\"\"\n Token-2022 Extension: Mint Close Authority\n \"\"\"\n type SplTokenExtensionMintCloseAuthority implements SplTokenExtension {\n extension: String\n closeAuthority: Account\n }\n\n \"\"\"\n Token-2022 Extension: Non-Transferable\n \"\"\"\n type SplTokenExtensionNonTransferable implements SplTokenExtension {\n extension: String\n }\n\n \"\"\"\n Token-2022 Extension: Permanent Delegate\n \"\"\"\n type SplTokenExtensionPermanentDelegate implements SplTokenExtension {\n extension: String\n delegate: Account\n }\n\n \"\"\"\n Token-2022 Extension: Token Group\n \"\"\"\n type SplTokenExtensionTokenGroup implements SplTokenExtension {\n extension: String\n maxSize: BigInt\n mint: Account\n size: BigInt\n updateAuthority: Account\n }\n\n \"\"\"\n Token-2022 Extension: Token Group Member\n \"\"\"\n type SplTokenExtensionTokenGroupMember implements SplTokenExtension {\n extension: String\n group: Account\n memberNumber: BigInt\n mint: Account\n }\n\n type SplTokenMetadataAdditionalMetadata {\n key: String\n value: String\n }\n \"\"\"\n Token-2022 Extension: Token Metadata\n \"\"\"\n type SplTokenExtensionTokenMetadata implements SplTokenExtension {\n extension: String\n additionalMetadata: [SplTokenMetadataAdditionalMetadata]\n mint: Account\n name: String\n symbol: String\n updateAuthority: Account\n uri: String\n }\n\n type SplTokenTransferFeeConfig {\n epoch: Epoch\n maximumFee: BigInt\n transferFeeBasisPoints: Int\n }\n \"\"\"\n Token-2022 Extension: Transfer Fee Config\n \"\"\"\n type SplTokenExtensionTransferFeeConfig implements SplTokenExtension {\n extension: String\n newerTransferFee: SplTokenTransferFeeConfig\n olderTransferFee: SplTokenTransferFeeConfig\n transferFeeConfigAuthority: Account\n withdrawWithheldAuthority: Account\n withheldAmount: BigInt\n }\n\n \"\"\"\n Token-2022 Extension: Transfer Hook\n \"\"\"\n type SplTokenExtensionTransferHook implements SplTokenExtension {\n extension: String\n authority: Account\n hookProgramId: Account\n }\n\n \"\"\"\n Token-2022 Extension: Transfer Fee Amount\n \"\"\"\n type SplTokenExtensionTransferFeeAmount implements SplTokenExtension {\n extension: String\n withheldAmount: BigInt\n }\n\n \"\"\"\n Token-2022 Extension: Transfer Hook Account\n \"\"\"\n type SplTokenExtensionTransferHookAccount implements SplTokenExtension {\n extension: String\n transferring: Boolean\n }\n\n \"\"\"\n Token-2022 Extension: Confidential Transfer Fee Amount\n \"\"\"\n type SplTokenExtensionConfidentialTransferFeeAmount implements SplTokenExtension {\n extension: String\n withheldAmount: String\n }\n\n \"\"\"\n Token-2022 Extension: NonTransferableAccount\n \"\"\"\n type SplTokenExtensionNonTransferableAccount implements SplTokenExtension {\n extension: String\n }\n\n \"\"\"\n Token-2022 Extension: ImmutableOwner\n \"\"\"\n type SplTokenExtensionImmutableOwner implements SplTokenExtension {\n extension: String\n }\n\n \"\"\"\n Token-2022 Extension: MemoTransfer\n \"\"\"\n type SplTokenExtensionMemoTransfer implements SplTokenExtension {\n extension: String\n requireIncomingTransferMemos: Boolean\n }\n\n \"\"\"\n Token-2022 Extension: CpiGuard\n \"\"\"\n type SplTokenExtensionCpiGuard implements SplTokenExtension {\n extension: String\n lockCpi: Boolean\n }\n\n \"\"\"\n Token-2022 Extension: ConfidentialTransferAccount\n \"\"\"\n type SplTokenExtensionConfidentialTransferAccount implements SplTokenExtension {\n extension: String\n actualPendingBalanceCreditCounter: Int\n allowConfidentialCredits: Boolean\n allowNonConfidentialCredits: Boolean\n approved: Boolean\n availableBalance: String\n decryptableAvailableBalance: String\n elgamalPubkey: String\n expectedPendingBalanceCreditCounter: Int\n maximumPendingBalanceCreditCounter: Int\n pendingBalanceCreditCounter: Int\n pendingBalanceHi: String\n pendingBalanceLo: String\n }\n\n \"\"\"\n Account interface\n \"\"\"\n interface Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n }\n\n \"\"\"\n Generic base account type\n \"\"\"\n type GenericAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n }\n\n type NonceAccountFeeCalculator {\n lamportsPerSignature: Lamports\n }\n \"\"\"\n A nonce account\n \"\"\"\n type NonceAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n authority: Account\n blockhash: Hash\n feeCalculator: NonceAccountFeeCalculator\n }\n\n \"\"\"\n A lookup table account\n \"\"\"\n type LookupTableAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n addresses: [Address]\n authority: Account\n deactivationSlot: Slot\n lastExtendedSlot: Slot\n lastExtendedSlotStartIndex: Int\n }\n\n \"\"\"\n A mint account\n \"\"\"\n type MintAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n decimals: Int\n extensions: [SplTokenExtension]\n freezeAuthority: Account\n isInitialized: Boolean\n mintAuthority: Account\n supply: BigInt\n }\n\n \"\"\"\n A token account\n \"\"\"\n type TokenAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n extensions: [SplTokenExtension]\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: Epoch\n unixTimestamp: BigInt\n }\n type StakeAccountDataMeta {\n authorized: StakeAccountDataMetaAuthorized\n lockup: StakeAccountDataMetaLockup\n rentExemptReserve: Lamports\n }\n type StakeAccountDataStakeDelegation {\n activationEpoch: Epoch\n deactivationEpoch: Epoch\n stake: Lamports\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 data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n meta: StakeAccountDataMeta\n stake: StakeAccountDataStake\n }\n\n type VoteAccountDataAuthorizedVoter {\n authorizedVoter: Account\n epoch: Epoch\n }\n type VoteAccountDataEpochCredit {\n credits: BigInt\n epoch: Epoch\n previousCredits: BigInt\n }\n type VoteAccountDataLastTimestamp {\n slot: Slot\n timestamp: BigInt\n }\n type VoteAccountDataVote {\n confirmationCount: Int\n slot: Slot\n }\n \"\"\"\n A vote account\n \"\"\"\n type VoteAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n authorizedVoters: [VoteAccountDataAuthorizedVoter]\n authorizedWithdrawer: Account\n commission: Int\n epochCredits: [VoteAccountDataEpochCredit]\n lastTimestamp: VoteAccountDataLastTimestamp\n node: Account\n priorVoters: [Address]\n rootSlot: Slot\n votes: [VoteAccountDataVote]\n }\n\n \"\"\"\n Sysvar Clock\n \"\"\"\n type SysvarClockAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n epoch: Epoch\n epochStartTimestamp: BigInt\n leaderScheduleEpoch: Epoch\n slot: Slot\n unixTimestamp: BigInt\n }\n\n \"\"\"\n Sysvar Epoch Rewards\n \"\"\"\n type SysvarEpochRewardsAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n distributedRewards: Lamports\n distributionCompleteBlockHeight: BigInt\n totalRewards: Lamports\n }\n\n \"\"\"\n Sysvar Epoch Schedule\n \"\"\"\n type SysvarEpochScheduleAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n firstNormalEpoch: Epoch\n firstNormalSlot: Slot\n leaderScheduleSlotOffset: BigInt\n slotsPerEpoch: BigInt\n warmup: Boolean\n }\n\n type FeeCalculator {\n lamportsPerSignature: Lamports\n }\n\n \"\"\"\n Sysvar Fees\n \"\"\"\n type SysvarFeesAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n feeCalculator: FeeCalculator\n }\n\n \"\"\"\n Sysvar Last Restart Slot\n \"\"\"\n type SysvarLastRestartSlotAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n lastRestartSlot: Slot\n }\n\n type SysvarRecentBlockhashesEntry {\n blockhash: Hash\n feeCalculator: FeeCalculator\n }\n \"\"\"\n Sysvar Recent Blockhashes\n \"\"\"\n type SysvarRecentBlockhashesAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n entries: [SysvarRecentBlockhashesEntry]\n }\n\n \"\"\"\n Sysvar Rent\n \"\"\"\n type SysvarRentAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n burnPercent: Int\n exemptionThreshold: Int\n lamportsPerByteYear: Lamports\n }\n\n type SlotHashEntry {\n hash: Hash\n slot: Slot\n }\n\n \"\"\"\n Sysvar Slot Hashes\n \"\"\"\n type SysvarSlotHashesAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n entries: [SlotHashEntry]\n }\n\n \"\"\"\n Sysvar Slot History\n \"\"\"\n type SysvarSlotHistoryAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n bits: String\n nextSlot: Slot\n }\n\n type StakeHistoryEntry {\n activating: Lamports\n deactivating: Lamports\n effective: Lamports\n }\n\n \"\"\"\n Sysvar Stake History\n \"\"\"\n type SysvarStakeHistoryAccount implements Account {\n address: Address\n data(encoding: AccountEncoding!, dataSlice: DataSlice): String\n executable: Boolean\n lamports: Lamports\n ownerProgram: Account\n space: BigInt\n rentEpoch: Epoch\n entries: [StakeHistoryEntry]\n }\n";
2
+ //# sourceMappingURL=account.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/schema/type-defs/account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,w0fA2kB3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const blockTypeDefs = "\n \"\"\"\n A Solana block\n \"\"\"\n type Block {\n blockhash: Hash\n blockHeight: BigInt\n blockTime: BigInt\n parentSlot: Slot\n previousBlockhash: Hash\n rewards: [Reward]\n signatures: [Signature]\n transactions: [Transaction]\n }\n";
2
+ //# sourceMappingURL=block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../../src/schema/type-defs/block.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,yTAczB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Creates the GraphQL type definitions for the Solana GraphQL schema.
3
+ *
4
+ * @returns Solana GraphQL type definitions.
5
+ */
6
+ export declare function createSolanaGraphQLTypeDefs(): string[];
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schema/type-defs/index.ts"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,wBAAgB,2BAA2B,aAE1C"}
@@ -0,0 +1,2 @@
1
+ export declare const instructionTypeDefs = "\n \"\"\"\n Transaction instruction interface\n \"\"\"\n interface TransactionInstruction {\n programId: Address\n }\n\n \"\"\"\n Generic transaction instruction\n \"\"\"\n type GenericInstruction implements TransactionInstruction {\n accounts: [Address]\n data: Base64EncodedBytes\n programId: Address\n }\n\n \"\"\"\n AddressLookupTable: CreateLookupTable instruction\n \"\"\"\n type CreateLookupTableInstruction implements TransactionInstruction {\n programId: Address\n bumpSeed: BigInt # FIXME:*\n lookupTableAccount: Account\n lookupTableAuthority: Account\n payerAccount: Account\n recentSlot: Slot\n systemProgram: Account\n }\n\n \"\"\"\n AddressLookupTable: ExtendLookupTable instruction\n \"\"\"\n type ExtendLookupTableInstruction implements TransactionInstruction {\n programId: Address\n lookupTableAccount: Account\n lookupTableAuthority: Account\n newAddresses: [Address]\n payerAccount: Account\n systemProgram: Account\n }\n\n \"\"\"\n AddressLookupTable: FreezeLookupTable instruction\n \"\"\"\n type FreezeLookupTableInstruction implements TransactionInstruction {\n programId: Address\n lookupTableAccount: Account\n lookupTableAuthority: Account\n }\n\n \"\"\"\n AddressLookupTable: DeactivateLookupTable instruction\n \"\"\"\n type DeactivateLookupTableInstruction implements TransactionInstruction {\n programId: Address\n lookupTableAccount: Account\n lookupTableAuthority: Account\n }\n\n \"\"\"\n AddressLookupTable: CloseLookupTable instruction\n \"\"\"\n type CloseLookupTableInstruction implements TransactionInstruction {\n programId: Address\n lookupTableAccount: Account\n lookupTableAuthority: Account\n recipient: Account\n }\n\n \"\"\"\n BpfLoader: Write instruction\n \"\"\"\n type BpfLoaderWriteInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n bytes: Base64EncodedBytes\n offset: BigInt # FIXME:*\n }\n\n \"\"\"\n BpfLoader: Finalize instruction\n \"\"\"\n type BpfLoaderFinalizeInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n }\n\n \"\"\"\n BpfUpgradeableLoader: InitializeBuffer instruction\n \"\"\"\n type BpfUpgradeableLoaderInitializeBufferInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n }\n\n \"\"\"\n BpfUpgradeableLoader: Write instruction\n \"\"\"\n type BpfUpgradeableLoaderWriteInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n authority: Account\n bytes: Base64EncodedBytes\n offset: BigInt # FIXME:*\n }\n\n \"\"\"\n BpfUpgradeableLoader: DeployWithMaxDataLen instruction\n \"\"\"\n type BpfUpgradeableLoaderDeployWithMaxDataLenInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n bufferAccount: Account\n clockSysvar: Account\n maxDataLen: BigInt\n payerAccount: Account\n programAccount: Account\n programDataAccount: Account\n rentSysvar: Account\n }\n\n \"\"\"\n BpfUpgradeableLoader: Upgrade instruction\n \"\"\"\n type BpfUpgradeableLoaderUpgradeInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n bufferAccount: Account\n clockSysvar: Account\n programAccount: Account\n programDataAccount: Account\n rentSysvar: Account\n spillAccount: Account\n }\n\n \"\"\"\n BpfUpgradeableLoader: SetAuthority instruction\n \"\"\"\n type BpfUpgradeableLoaderSetAuthorityInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n authority: Account\n newAuthority: Account\n }\n\n \"\"\"\n BpfUpgradeableLoader: SetAuthorityChecked instruction\n \"\"\"\n type BpfUpgradeableLoaderSetAuthorityCheckedInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n authority: Account\n newAuthority: Account\n }\n\n \"\"\"\n BpfUpgradeableLoader: Close instruction\n \"\"\"\n type BpfUpgradeableLoaderCloseInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n authority: Account\n programAccount: Account\n recipient: Account\n }\n\n \"\"\"\n BpfUpgradeableLoader: ExtendProgram instruction\n \"\"\"\n type BpfUpgradeableLoaderExtendProgramInstruction implements TransactionInstruction {\n programId: Address\n additionalBytes: BigInt\n payerAccount: Account\n programAccount: Account\n programDataAccount: Account\n systemProgram: Account\n }\n\n \"\"\"\n SplAssociatedTokenAccount: Create instruction\n \"\"\"\n type SplAssociatedTokenCreateInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n mint: Account\n source: Account\n systemProgram: Account\n tokenProgram: Account\n wallet: Account\n }\n\n \"\"\"\n SplAssociatedTokenAccount: CreateIdempotent instruction\n \"\"\"\n type SplAssociatedTokenCreateIdempotentInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n mint: Account\n source: Account\n systemProgram: Account\n tokenProgram: Account\n wallet: Account\n }\n\n \"\"\"\n SplAssociatedTokenAccount: RecoverNested instruction\n \"\"\"\n type SplAssociatedTokenRecoverNestedInstruction implements TransactionInstruction {\n programId: Address\n destination: Account\n nestedMint: Account\n nestedOwner: Account\n nestedSource: Account\n ownerMint: Account\n tokenProgram: Account\n wallet: Account\n }\n\n \"\"\"\n SplMemo instruction\n \"\"\"\n type SplMemoInstruction implements TransactionInstruction {\n programId: Address\n memo: String\n }\n\n \"\"\"\n SplToken: InitializeMint instruction\n \"\"\"\n type SplTokenInitializeMintInstruction implements TransactionInstruction {\n programId: Address\n decimals: BigInt # FIXME:*\n freezeAuthority: Account\n mint: Account\n mintAuthority: Account\n rentSysvar: Account\n }\n\n \"\"\"\n SplToken: InitializeMint2 instruction\n \"\"\"\n type SplTokenInitializeMint2Instruction implements TransactionInstruction {\n programId: Address\n decimals: BigInt # FIXME:*\n freezeAuthority: Account\n mint: Account\n mintAuthority: Account\n }\n\n \"\"\"\n SplToken: InitializeAccount instruction\n \"\"\"\n type SplTokenInitializeAccountInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n mint: Account\n owner: Account\n rentSysvar: Account\n }\n\n \"\"\"\n SplToken: InitializeAccount2 instruction\n \"\"\"\n type SplTokenInitializeAccount2Instruction implements TransactionInstruction {\n programId: Address\n account: Account\n mint: Account\n owner: Account\n rentSysvar: Account\n }\n\n \"\"\"\n SplToken: InitializeAccount3 instruction\n \"\"\"\n type SplTokenInitializeAccount3Instruction implements TransactionInstruction {\n programId: Address\n account: Account\n mint: Account\n owner: Account\n }\n\n \"\"\"\n SplToken: InitializeMultisig instruction\n \"\"\"\n type SplTokenInitializeMultisigInstruction implements TransactionInstruction {\n programId: Address\n m: BigInt # FIXME:*\n multisig: Account\n rentSysvar: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken: InitializeMultisig2 instruction\n \"\"\"\n type SplTokenInitializeMultisig2Instruction implements TransactionInstruction {\n programId: Address\n m: BigInt # FIXME:*\n multisig: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken: Transfer instruction\n \"\"\"\n type SplTokenTransferInstruction implements TransactionInstruction {\n programId: Address\n amount: BigInt\n authority: Account\n destination: Account\n multisigAuthority: Account\n source: Account\n }\n\n \"\"\"\n SplToken: Approve instruction\n \"\"\"\n type SplTokenApproveInstruction implements TransactionInstruction {\n programId: Address\n amount: BigInt\n delegate: Account\n multisigOwner: Account\n owner: Account\n source: Account\n }\n\n \"\"\"\n SplToken: Revoke instruction\n \"\"\"\n type SplTokenRevokeInstruction implements TransactionInstruction {\n programId: Address\n multisigOwner: Account\n owner: Account\n source: Account\n }\n\n \"\"\"\n SplToken: SetAuthority instruction\n \"\"\"\n type SplTokenSetAuthorityInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n authorityType: String\n multisigAuthority: Account\n newAuthority: Account\n }\n\n \"\"\"\n SplToken: MintTo instruction\n \"\"\"\n type SplTokenMintToInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n amount: BigInt\n authority: Account\n mint: Account\n mintAuthority: Account\n multisigMintAuthority: Account\n }\n\n \"\"\"\n SplToken: Burn instruction\n \"\"\"\n type SplTokenBurnInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n amount: BigInt\n authority: Account\n mint: Account\n multisigAuthority: Account\n }\n\n \"\"\"\n SplToken: CloseAccount instruction\n \"\"\"\n type SplTokenCloseAccountInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n destination: Account\n multisigOwner: Account\n owner: Account\n }\n\n \"\"\"\n SplToken: FreezeAccount instruction\n \"\"\"\n type SplTokenFreezeAccountInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n freezeAuthority: Account\n mint: Account\n multisigFreezeAuthority: Account\n }\n\n \"\"\"\n SplToken: ThawAccount instruction\n \"\"\"\n type SplTokenThawAccountInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n freezeAuthority: Account\n mint: Account\n multisigFreezeAuthority: Account\n }\n\n \"\"\"\n SplToken: TransferChecked instruction\n \"\"\"\n type SplTokenTransferCheckedInstruction implements TransactionInstruction {\n programId: Address\n amount: BigInt\n authority: Account\n decimals: BigInt # FIXME:*\n destination: Account\n mint: Account\n multisigAuthority: Account\n source: Account\n tokenAmount: BigInt\n }\n\n \"\"\"\n SplToken: ApproveChecked instruction\n \"\"\"\n type SplTokenApproveCheckedInstruction implements TransactionInstruction {\n programId: Address\n delegate: Account\n mint: Account\n multisigOwner: Account\n owner: Account\n source: Account\n tokenAmount: BigInt\n }\n\n \"\"\"\n SplToken: MintToChecked instruction\n \"\"\"\n type SplTokenMintToCheckedInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n authority: Account\n mint: Account\n mintAuthority: Account\n multisigMintAuthority: Account\n tokenAmount: BigInt\n }\n\n \"\"\"\n SplToken: BurnChecked instruction\n \"\"\"\n type SplTokenBurnCheckedInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n authority: Account\n mint: Account\n multisigAuthority: Account\n tokenAmount: BigInt\n }\n\n \"\"\"\n SplToken: SyncNative instruction\n \"\"\"\n type SplTokenSyncNativeInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n }\n\n \"\"\"\n SplToken: GetAccountDataSize instruction\n \"\"\"\n type SplTokenGetAccountDataSizeInstruction implements TransactionInstruction {\n programId: Address\n extensionTypes: [String]\n mint: Account\n }\n\n \"\"\"\n SplToken: InitializeImmutableOwner instruction\n \"\"\"\n type SplTokenInitializeImmutableOwnerInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n }\n\n \"\"\"\n SplToken: AmountToUiAmount instruction\n \"\"\"\n type SplTokenAmountToUiAmountInstruction implements TransactionInstruction {\n programId: Address\n amount: BigInt\n mint: Account\n }\n\n \"\"\"\n SplToken: UiAmountToAmount instruction\n \"\"\"\n type SplTokenUiAmountToAmountInstruction implements TransactionInstruction {\n programId: Address\n mint: Account\n uiAmount: String\n }\n\n \"\"\"\n SplToken-2022: InitializeDefaultAccountState instruction\n \"\"\"\n type SplTokenInitializeDefaultAccountStateInstruction implements TransactionInstruction {\n programId: Address\n accountState: SplTokenDefaultAccountState\n mint: Account\n }\n\n \"\"\"\n SplToken-2022: UpdateDefaultAccountState instruction\n \"\"\"\n type SplTokenUpdateDefaultAccountStateInstruction implements TransactionInstruction {\n programId: Address\n accountState: SplTokenDefaultAccountState\n freezeAuthority: Account\n mint: Account\n multisigFreezeAuthority: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: InitializeMintCloseAuthority instruction\n \"\"\"\n type SplTokenInitializeMintCloseAuthorityInstruction implements TransactionInstruction {\n programId: Address\n mint: Account\n newAuthority: Account\n }\n\n \"\"\"\n SplToken-2022: InitializePermanentDelegate instruction\n \"\"\"\n type SplTokenInitializePermanentDelegateInstruction implements TransactionInstruction {\n programId: Address\n delegate: Account\n mint: Account\n }\n\n \"\"\"\n SplToken-2022: InitializeGroupPointer instruction\n \"\"\"\n type SplTokenInitializeGroupPointerInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n groupAddress: Account\n mint: Account\n }\n\n \"\"\"\n SplToken-2022: UpdateGroupPointer instruction\n \"\"\"\n type SplTokenUpdateGroupPointerInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n groupAddress: Account\n mint: Account\n multisigAuthority: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: InitializeGroupMemberPointer instruction\n \"\"\"\n type SplTokenInitializeGroupMemberPointerInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n memberAddress: Account\n mint: Account\n }\n\n \"\"\"\n SplToken-2022: UpdateGroupMemberPointer instruction\n \"\"\"\n type SplTokenUpdateGroupMemberPointerInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n memberAddress: Account\n mint: Account\n multisigAuthority: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: InitializeMetadataPointer instruction\n \"\"\"\n type SplTokenInitializeMetadataPointerInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n metadataAddress: Account\n mint: Account\n }\n\n \"\"\"\n SplToken-2022: UpdateMetadataPointer instruction\n \"\"\"\n type SplTokenUpdateMetadataPointerInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n metadataAddress: Account\n mint: Account\n multisigAuthority: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: InitializeTransferFeeConfig instruction\n \"\"\"\n type SplTokenInitializeTransferFeeConfig implements TransactionInstruction {\n programId: Address\n mint: Account\n transferFeeBasisPoints: BigInt #*FIXME:*\n transferFeeConfigAuthority: Account\n withdrawWithheldAuthority: Account\n maximumFee: BigInt #*FIXME:*\n }\n\n \"\"\"\n SplToken-2022: InitializeTransferHook instruction\n \"\"\"\n type SplTokenInitializeTransferHookInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n hookProgramId: Account\n mint: Account\n }\n\n \"\"\"\n SplToken-2022: UpdateTransferHook instruction\n \"\"\"\n type SplTokenUpdateTransferHookInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n hookProgramId: Account\n mint: Account\n multisigAuthority: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: EnableCpiGuard instruction\n \"\"\"\n type SplTokenEnableCpiGuardInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n multisigOwner: Account\n owner: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: DisableCpiGuard instruction\n \"\"\"\n type SplTokenDisableCpiGuardInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n multisigOwner: Account\n owner: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: HarvestWithheldTokensToMint instruction\n \"\"\"\n type SplTokenHarvestWithheldTokensToMint implements TransactionInstruction {\n programId: Address\n mint: Account\n sourceAccounts: [Address]\n }\n\n \"\"\"\n SplToken-2022: WithdrawWithheldTokensFromAccounts instruction\n \"\"\"\n type SplTokenWithdrawWithheldTokensFromAccounts implements TransactionInstruction {\n programId: Address\n feeRecipient: Account\n mint: Account\n multisigWithdrawWithheldAuthority: Account\n signers: [Address]\n sourceAccounts: [Address]\n withdrawWithheldAuthority: Account\n }\n\n \"\"\"\n SplToken-2022: WithdrawWithheldTokensFromMint instruction\n \"\"\"\n type SplTokenWithdrawWithheldTokensFromMint implements TransactionInstruction {\n programId: Address\n feeRecipient: Account\n mint: Account\n withdrawWithheldAuthority: Account\n multisigWithdrawWithheldAuthority: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: TransferCheckedWithFee instruction\n \"\"\"\n type SplTokenTransferCheckedWithFee implements TransactionInstruction {\n programId: Address\n authority: Account\n destination: Account\n feeAmount: TokenAmount\n mint: Account\n source: Account\n tokenAmount: TokenAmount\n multisigAuthority: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: EnableRequiredMemoTransfers instruction\n \"\"\"\n type SplTokenEnableRequiredMemoTransfers implements TransactionInstruction {\n programId: Address\n account: Account\n owner: Account\n multisigOwner: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: DisableRequiredMemoTransfers instruction\n \"\"\"\n type SplTokenDisableRequiredMemoTransfers implements TransactionInstruction {\n programId: Address\n account: Account\n owner: Account\n multisigOwner: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: InitializeConfidentialTransferMint instruction\n \"\"\"\n type SplTokenInitializeConfidentialTransferMint implements TransactionInstruction {\n programId: Address\n auditorElgamalPubkey: Address\n authority: Account\n autoApproveNewAccounts: Boolean\n mint: Account\n }\n\n \"\"\"\n SplToken-2022: InitializeInterestBearingConfig instruction\n \"\"\"\n type SplTokenInitializeInterestBearingConfig implements TransactionInstruction {\n programId: Address\n mint: Account\n rate: BigInt #*FIXME:*\n rateAuthority: Account\n }\n\n \"\"\"\n SplToken-2022: UpdateInterestBearingConfigRate instruction\n \"\"\"\n type SplTokenUpdateInterestBearingConfigRate implements TransactionInstruction {\n programId: Address\n mint: Account\n multisigRateAuthority: Account\n newRate: BigInt #*FIXME:*\n rateAuthority: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: ApproveConfidentialTransferAccount instruction\n \"\"\"\n type SplTokenApproveConfidentialTransferAccount implements TransactionInstruction {\n programId: Address\n account: Account\n confidentialTransferAuditorAuthority: Account\n mint: Account\n }\n\n \"\"\"\n SplToken-2022: EmptyConfidentialTransferAccount instruction\n \"\"\"\n type SplTokenEmptyConfidentialTransferAccount implements TransactionInstruction {\n programId: Address\n account: Account\n instructionsSysvar: Account\n multisigOwner: Account\n owner: Account\n proofInstructionOffset: BigInt #*FIXME:*\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: ConfigureConfidentialTransferAccount instruction\n \"\"\"\n type SplTokenConfigureConfidentialTransferAccount implements TransactionInstruction {\n programId: Address\n account: Account\n decryptableZeroBalance: String\n maximumPendingBalanceCreditCounter: BigInt\n mint: Account\n multisigOwner: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: ApplyPendingConfidentialTransferBalance instruction\n \"\"\"\n type SplTokenApplyPendingConfidentialTransferBalance implements TransactionInstruction {\n programId: Address\n account: Account\n expectedPendingBalanceCreditCounter: BigInt\n multisigOwner: Account\n newDecryptableAvailableBalance: String\n owner: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: EnableConfidentialTransferConfidentialCredits instruction\n \"\"\"\n type SplTokenEnableConfidentialTransferConfidentialCredits implements TransactionInstruction {\n programId: Address\n account: Account\n multisigOwner: Account\n owner: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: DisableConfidentialTransferConfidentialCredits instruction\n \"\"\"\n type SplTokenDisableConfidentialTransferConfidentialCredits implements TransactionInstruction {\n programId: Address\n account: Account\n multisigOwner: Account\n owner: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: EnableConfidentialTransferNonConfidentialCredits instruction\n \"\"\"\n type SplTokenEnableConfidentialTransferNonConfidentialCredits implements TransactionInstruction {\n programId: Address\n account: Account\n multisigOwner: Account\n owner: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: DisableConfidentialTransferNonConfidentialCredits instruction\n \"\"\"\n type SplTokenDisableConfidentialTransferNonConfidentialCredits implements TransactionInstruction {\n programId: Address\n account: Account\n multisigOwner: Account\n owner: Account\n signers: [Address]\n }\n\n \"\"\"\n SplToken-2022: DepositConfidentialTransfer instruction\n \"\"\"\n type SplTokenDepositConfidentialTransfer implements TransactionInstruction {\n programId: Address\n amount: BigInt\n decimals: BigInt # FIXME:*\n destination: Account\n mint: Account\n multisigOwner: Account\n owner: Account\n signers: [Address]\n source: Account\n }\n\n \"\"\"\n SplToken-2022: WithdrawConfidentialTransfer instruction\n \"\"\"\n type SplTokenWithdrawConfidentialTransfer implements TransactionInstruction {\n programId: Address\n amount: BigInt\n decimals: BigInt # FIXME:*\n destination: Account\n instructionsSysvar: Account\n newDecryptableAvailableBalance: String\n mint: Account\n multisigOwner: Account\n owner: Account\n proofInstructionOffset: BigInt #*FIXME:*\n signers: [Address]\n source: Account\n }\n\n \"\"\"\n SplToken-2022: ConfidentialTransfer instruction\n \"\"\"\n type SplTokenConfidentialTransfer implements TransactionInstruction {\n programId: Address\n destination: Account\n instructionsSysvar: Account\n mint: Account\n multisigOwner: Account\n newSourceDecryptableAvailableBalance: String\n owner: Account\n proofInstructionOffset: BigInt #*FIXME:*\n signers: [Address]\n source: Account\n }\n\n \"\"\"\n SplToken-2022: ConfidentialTransferWithSplitProofs instruction\n \"\"\"\n type SplTokenConfidentialTransferWithSplitProofs implements TransactionInstruction {\n programId: Address\n batchedGroupedCiphertext2HandlesValidityContext: Account\n batchedRangeProofContext: Account\n ciphertextCommitmentEqualityContext: Account\n closeSplitContextStateOnExecution: Boolean\n contextStateOwner: Account\n destination: Account\n lamportDestination: Account\n mint: Account\n newSourceDecryptableAvailableBalance: String\n noOpOnUninitializedSplitContextState: Boolean\n owner: Account\n source: Account\n }\n\n \"\"\"\n SplToken-2022: UpdateConfidentialTransferMint instruction\n \"\"\"\n type SplTokenUpdateConfidentialTransferMint implements TransactionInstruction {\n programId: Address\n auditorElgamalPubkey: Address\n authority: Account\n autoApproveNewAccounts: Boolean\n confidentialTransferMintAuthority: Account\n mint: Account\n newConfidentialTransferMintAuthority: Account\n }\n\n \"\"\"\n SplToken-2022: WithdrawWithheldConfidentialTransferTokensFromMint instruction\n \"\"\"\n type SplTokenWithdrawWithheldConfidentialTransferTokensFromMint implements TransactionInstruction {\n programId: Address\n feeRecipient: Account\n instructionsSysvar: Account\n mint: Account\n multisigWithdrawWithheldAuthority: Account\n proofInstructionOffset: BigInt #*FIXME:*\n signers: [Address]\n withdrawWithheldAuthority: Account\n }\n\n \"\"\"\n SplToken-2022: WithdrawWithheldConfidentialTransferTokensFromAccounts instruction\n \"\"\"\n type SplTokenWithdrawWithheldConfidentialTransferTokensFromAccounts implements TransactionInstruction {\n programId: Address\n feeRecipient: Account\n instructionsSysvar: Account\n mint: Account\n multisigWithdrawWithheldAuthority: Account\n proofInstructionOffset: BigInt #*FIXME:*\n signers: [Address]\n sourceAccounts: [Address]\n withdrawWithheldAuthority: Account\n }\n\n \"\"\"\n SplToken-2022: HarvestWithheldConfidentialTransferTokensToMint instruction\n \"\"\"\n type SplTokenHarvestWithheldConfidentialTransferTokensToMint implements TransactionInstruction {\n programId: Address\n mint: Account\n sourceAccounts: [Address]\n }\n\n \"\"\"\n SplToken-2022: EnableConfidentialTransferFeeHarvestToMint instruction\n \"\"\"\n type SplTokenEnableConfidentialTransferFeeHarvestToMint implements TransactionInstruction {\n programId: Address\n account: Account\n owner: Account\n multisigOwner: Account\n signers: Address\n }\n\n \"\"\"\n SplToken-2022: DisableConfidentialTransferFeeHarvestToMint instruction\n \"\"\"\n type SplTokenDisableConfidentialTransferFeeHarvestToMint implements TransactionInstruction {\n programId: Address\n account: Account\n multisigOwner: Account\n owner: Account\n signers: Address\n }\n\n \"\"\"\n SplToken-2022: InitializeConfidentialTransferFeeConfig instruction\n \"\"\"\n type SplTokenInitializeConfidentialTransferFeeConfig implements TransactionInstruction {\n programId: Address\n authority: Account\n harvestToMintEnabled: Boolean\n mint: Account\n withdrawWithheldAuthorityElgamalPubkey: Address\n withheldAmount: String\n }\n\n \"\"\"\n SplToken-2022: Reallocate instruction\n \"\"\"\n type SplTokenReallocate implements TransactionInstruction {\n programId: Address\n account: Account\n extensionTypes: [SplTokenExtensionType]\n owner: Account\n multisigOwner: Account\n payer: Account\n signers: [Address]\n systemProgram: Account\n }\n\n \"\"\"\n Spl Token Group: InitializeGroup instruction\n \"\"\"\n type SplTokenGroupInitializeGroup implements TransactionInstruction {\n programId: Address\n group: Account\n maxSize: BigInt\n mint: Account\n mintAuthority: Account\n updateAuthority: Account\n }\n\n \"\"\"\n Spl Token Group: UpdateGroupMaxSize instruction\n \"\"\"\n type SplTokenGroupUpdateGroupMaxSize implements TransactionInstruction {\n programId: Address\n group: Account\n maxSize: BigInt\n updateAuthority: Account\n }\n\n \"\"\"\n Spl Token Group: UpdateGroupAuthority instruction\n \"\"\"\n type SplTokenGroupUpdateGroupAuthority implements TransactionInstruction {\n programId: Address\n group: Account\n newAuthority: Account\n updateAuthority: Account\n }\n\n \"\"\"\n Spl Token Group: InitializeMember instruction\n \"\"\"\n type SplTokenGroupInitializeMember implements TransactionInstruction {\n programId: Address\n group: Account\n groupUpdateAuthority: Account\n member: Account\n memberMint: Account\n memberMintAuthority: Account\n }\n\n \"\"\"\n Spl Token Metadata: InitializeMetadata instruction\n \"\"\"\n type SplTokenMetadataInitialize implements TransactionInstruction {\n programId: Address\n metadata: Account\n mint: Account\n mintAuthority: Account\n name: String\n symbol: String\n updateAuthority: Account\n uri: String\n }\n\n \"\"\"\n Spl Token Metadata: UpdateField instruction\n \"\"\"\n type SplTokenMetadataUpdateField implements TransactionInstruction {\n programId: Address\n field: String\n metadata: Account\n updateAuthority: Account\n value: String\n }\n\n \"\"\"\n Spl Token Metadata: RemoveKey instruction\n \"\"\"\n type SplTokenMetadataRemoveKey implements TransactionInstruction {\n programId: Address\n idempotent: Boolean\n key: String\n metadata: Account\n updateAuthority: Account\n }\n\n \"\"\"\n Spl Token Metadata: UpdateAuthority instruction\n \"\"\"\n type SplTokenMetadataUpdateAuthority implements TransactionInstruction {\n programId: Address\n metadata: Account\n newAuthority: Account\n updateAuthority: Account\n }\n\n \"\"\"\n Spl Token Metadata: Emit instruction\n \"\"\"\n type SplTokenMetadataEmit implements TransactionInstruction {\n programId: Address\n metadata: Account\n end: BigInt\n start: BigInt\n }\n\n type Lockup {\n custodian: Account\n epoch: Epoch\n unixTimestamp: BigInt\n }\n\n \"\"\"\n Stake: Initialize instruction\n \"\"\"\n type StakeInitializeInstructionDataAuthorized {\n staker: Account\n withdrawer: Account\n }\n type StakeInitializeInstruction implements TransactionInstruction {\n programId: Address\n authorized: StakeInitializeInstructionDataAuthorized\n lockup: Lockup\n rentSysvar: Account\n stakeAccount: Account\n }\n\n \"\"\"\n Stake: Authorize instruction\n \"\"\"\n type StakeAuthorizeInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n authorityType: String\n clockSysvar: Account\n custodian: Account\n newAuthority: Account\n stakeAccount: Account\n }\n\n \"\"\"\n Stake: DelegateStake instruction\n \"\"\"\n type StakeDelegateStakeInstruction implements TransactionInstruction {\n programId: Address\n clockSysvar: Account\n stakeAccount: Account\n stakeAuthority: Account\n stakeConfigAccount: Account\n stakeHistorySysvar: Account\n voteAccount: Account\n }\n\n \"\"\"\n Stake: Split instruction\n \"\"\"\n type StakeSplitInstruction implements TransactionInstruction {\n programId: Address\n lamports: Lamports\n newSplitAccount: Account\n stakeAccount: Account\n stakeAuthority: Account\n }\n\n \"\"\"\n Stake: Withdraw instruction\n \"\"\"\n type StakeWithdrawInstruction implements TransactionInstruction {\n programId: Address\n clockSysvar: Account\n destination: Account\n lamports: Lamports\n stakeAccount: Account\n withdrawAuthority: Account\n }\n\n \"\"\"\n Stake: Deactivate instruction\n \"\"\"\n type StakeDeactivateInstruction implements TransactionInstruction {\n programId: Address\n clockSysvar: Account\n stakeAccount: Account\n stakeAuthority: Account\n }\n\n \"\"\"\n Stake: SetLockup instruction\n \"\"\"\n type StakeSetLockupInstruction implements TransactionInstruction {\n programId: Address\n custodian: Account\n lockup: Lockup\n stakeAccount: Account\n }\n\n \"\"\"\n Stake: Merge instruction\n \"\"\"\n type StakeMergeInstruction implements TransactionInstruction {\n programId: Address\n clockSysvar: Account\n destination: Account\n source: Account\n stakeAuthority: Account\n stakeHistorySysvar: Account\n }\n\n \"\"\"\n Stake: AuthorizeWithSeed instruction\n \"\"\"\n type StakeAuthorizeWithSeedInstruction implements TransactionInstruction {\n programId: Address\n authorityBase: Account\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: Account\n custodian: Account\n newAuthorized: Account\n stakeAccount: Account\n }\n\n \"\"\"\n Stake: InitializeChecked instruction\n \"\"\"\n type StakeInitializeCheckedInstructionDataAuthorized {\n staker: Account\n withdrawer: Account\n }\n type StakeInitializeCheckedInstruction implements TransactionInstruction {\n programId: Address\n authorized: StakeInitializeCheckedInstructionDataAuthorized\n lockup: Lockup\n rentSysvar: Account\n stakeAccount: Account\n }\n\n \"\"\"\n Stake: AuthorizeChecked instruction\n \"\"\"\n type StakeAuthorizeCheckedInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n authorityType: String\n clockSysvar: Account\n custodian: Account\n newAuthority: Account\n stakeAccount: Account\n }\n\n \"\"\"\n Stake: AuthorizeCheckedWithSeed instruction\n \"\"\"\n type StakeAuthorizeCheckedWithSeedInstruction implements TransactionInstruction {\n programId: Address\n authorityBase: Account\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: Account\n custodian: Account\n newAuthorized: Account\n stakeAccount: Account\n }\n\n \"\"\"\n Stake: SetLockupChecked instruction\n \"\"\"\n type StakeSetLockupCheckedInstruction implements TransactionInstruction {\n programId: Address\n custodian: Account\n lockup: Lockup\n stakeAccount: Account\n }\n\n \"\"\"\n Stake: DeactivateDelinquent instruction\n \"\"\"\n type StakeDeactivateDelinquentInstruction implements TransactionInstruction {\n programId: Address\n referenceVoteAccount: Account\n stakeAccount: Account\n voteAccount: Account\n }\n\n \"\"\"\n Stake: Redelegate instruction\n \"\"\"\n type StakeRedelegateInstruction implements TransactionInstruction {\n programId: Address\n newStakeAccount: Account\n stakeAccount: Account\n stakeAuthority: Account\n stakeConfigAccount: Account\n voteAccount: Account\n }\n\n \"\"\"\n System: CreateAccount instruction\n \"\"\"\n type CreateAccountInstruction implements TransactionInstruction {\n programId: Address\n lamports: Lamports\n newAccount: Account\n owner: Account\n source: Account\n space: BigInt\n }\n\n \"\"\"\n System: Assign instruction\n \"\"\"\n type AssignInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n owner: Account\n }\n\n \"\"\"\n System: Transfer instruction\n \"\"\"\n type TransferInstruction implements TransactionInstruction {\n programId: Address\n destination: Account\n lamports: Lamports\n source: Account\n }\n\n \"\"\"\n System: CreateAccountWithSeed instruction\n \"\"\"\n type CreateAccountWithSeedInstruction implements TransactionInstruction {\n programId: Address\n base: Account\n lamports: Lamports\n owner: Account\n seed: String\n space: BigInt\n }\n\n \"\"\"\n System: AdvanceNonceAccount instruction\n \"\"\"\n type AdvanceNonceAccountInstruction implements TransactionInstruction {\n programId: Address\n nonceAccount: Account\n nonceAuthority: Account\n recentBlockhashesSysvar: Account\n }\n\n \"\"\"\n System: WithdrawNonceAccount instruction\n \"\"\"\n type WithdrawNonceAccountInstruction implements TransactionInstruction {\n programId: Address\n destination: Account\n lamports: Lamports\n nonceAccount: Account\n nonceAuthority: Account\n recentBlockhashesSysvar: Account\n rentSysvar: Account\n }\n\n \"\"\"\n System: InitializeNonceAccount instruction\n \"\"\"\n type InitializeNonceAccountInstruction implements TransactionInstruction {\n programId: Address\n nonceAccount: Account\n nonceAuthority: Account\n recentBlockhashesSysvar: Account\n rentSysvar: Account\n }\n\n \"\"\"\n System: AuthorizeNonceAccount instruction\n \"\"\"\n type AuthorizeNonceAccountInstruction implements TransactionInstruction {\n programId: Address\n newAuthorized: Account\n nonceAccount: Account\n nonceAuthority: Account\n }\n\n \"\"\"\n System: UpgradeNonceAccount instruction\n \"\"\"\n type UpgradeNonceAccountInstruction implements TransactionInstruction {\n programId: Address\n nonceAccount: Account\n nonceAuthority: Account\n }\n\n \"\"\"\n System: Allocate instruction\n \"\"\"\n type AllocateInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n space: BigInt\n }\n\n \"\"\"\n System: AllocateWithSeed instruction\n \"\"\"\n type AllocateWithSeedInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n base: Address\n owner: Account\n seed: String\n space: BigInt\n }\n\n \"\"\"\n System: AssignWithSeed instruction\n \"\"\"\n type AssignWithSeedInstruction implements TransactionInstruction {\n programId: Address\n account: Account\n base: Address\n owner: Account\n seed: String\n }\n\n \"\"\"\n System: TransferWithSeed instruction\n \"\"\"\n type TransferWithSeedInstruction implements TransactionInstruction {\n programId: Address\n destination: Account\n lamports: Lamports\n source: Account\n sourceBase: Address\n sourceOwner: Account\n sourceSeed: String\n }\n\n \"\"\"\n Vote: InitializeAccount instruction\n \"\"\"\n type VoteInitializeAccountInstruction implements TransactionInstruction {\n programId: Address\n authorizedVoter: Account\n authorizedWithdrawer: Account\n clockSysvar: Account\n commission: BigInt # FIXME:*\n node: Account\n rentSysvar: Account\n voteAccount: Account\n }\n\n \"\"\"\n Vote: Authorize instruction\n \"\"\"\n type VoteAuthorizeInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n authorityType: String\n clockSysvar: Account\n newAuthority: Account\n voteAccount: Account\n }\n\n \"\"\"\n Vote: AuthorizeWithSeed instruction\n \"\"\"\n type VoteAuthorizeWithSeedInstruction implements TransactionInstruction {\n programId: Address\n authorityBaseKey: String\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: Account\n newAuthority: Account\n voteAccount: Account\n }\n\n \"\"\"\n Vote: AuthorizeCheckedWithSeed instruction\n \"\"\"\n type VoteAuthorizeCheckedWithSeedInstruction implements TransactionInstruction {\n programId: Address\n authorityBaseKey: String\n authorityOwner: Account\n authoritySeed: String\n authorityType: String\n clockSysvar: Account\n newAuthority: Account\n voteAccount: Account\n }\n\n type Vote {\n hash: Hash\n slots: [Slot]\n timestamp: BigInt\n }\n\n \"\"\"\n Vote: Vote instruction\n \"\"\"\n type VoteVoteInstruction implements TransactionInstruction {\n programId: Address\n clockSysvar: Account\n slotHashesSysvar: Account\n vote: Vote\n voteAccount: Account\n voteAuthority: Account\n }\n\n type VoteStateUpdateLockout {\n confirmationCount: BigInt # FIXME:*\n slot: Slot\n }\n type VoteStateUpdate {\n hash: Hash\n lockouts: [VoteStateUpdateLockout]\n root: Slot\n timestamp: BigInt\n }\n\n \"\"\"\n Vote: UpdateVoteState instruction\n \"\"\"\n type VoteUpdateVoteStateInstruction implements TransactionInstruction {\n programId: Address\n hash: Hash\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n\n \"\"\"\n Vote: UpdateVoteStateSwitch instruction\n \"\"\"\n type VoteUpdateVoteStateSwitchInstruction implements TransactionInstruction {\n programId: Address\n hash: Hash\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n\n \"\"\"\n Vote: CompactUpdateVoteState instruction\n \"\"\"\n type VoteCompactUpdateVoteStateInstruction implements TransactionInstruction {\n programId: Address\n hash: Hash\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n\n \"\"\"\n Vote: CompactUpdateVoteStateSwitch instruction\n \"\"\"\n type VoteCompactUpdateVoteStateSwitchInstruction implements TransactionInstruction {\n programId: Address\n hash: Hash\n voteAccount: Account\n voteAuthority: Account\n voteStateUpdate: VoteStateUpdate\n }\n\n \"\"\"\n Vote: Withdraw instruction\n \"\"\"\n type VoteWithdrawInstruction implements TransactionInstruction {\n programId: Address\n destination: Account\n lamports: Lamports\n voteAccount: Account\n withdrawAuthority: Account\n }\n\n \"\"\"\n Vote: UpdateValidatorIdentity instruction\n \"\"\"\n type VoteUpdateValidatorIdentityInstruction implements TransactionInstruction {\n programId: Address\n newValidatorIdentity: Account\n voteAccount: Account\n withdrawAuthority: Account\n }\n\n \"\"\"\n Vote: UpdateCommission instruction\n \"\"\"\n type VoteUpdateCommissionInstruction implements TransactionInstruction {\n programId: Address\n commission: BigInt # FIXME:*\n voteAccount: Account\n withdrawAuthority: Account\n }\n\n \"\"\"\n Vote: VoteSwitch instruction\n \"\"\"\n type VoteVoteSwitchInstruction implements TransactionInstruction {\n programId: Address\n clockSysvar: Account\n hash: Hash\n slotHashesSysvar: Account\n vote: Vote\n voteAccount: Account\n voteAuthority: Account\n }\n\n \"\"\"\n Vote: AuthorizeChecked instruction\n \"\"\"\n type VoteAuthorizeCheckedInstruction implements TransactionInstruction {\n programId: Address\n authority: Account\n authorityType: String\n clockSysvar: Account\n newAuthority: Account\n voteAccount: Account\n }\n";
2
+ //# sourceMappingURL=instruction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.d.ts","sourceRoot":"","sources":["../../../../src/schema/type-defs/instruction.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,mx7CA0mD/B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const rootTypeDefs = "\n type Query {\n account(address: Address!, commitment: Commitment, minContextSlot: Slot): Account\n block(slot: Slot!, commitment: CommitmentWithoutProcessed): Block\n programAccounts(\n programAddress: Address!\n commitment: Commitment\n dataSizeFilters: [ProgramAccountsDataSizeFilter]\n memcmpFilters: [ProgramAccountsMemcmpFilter]\n minContextSlot: Slot\n ): [Account]\n transaction(signature: Signature!, commitment: CommitmentWithoutProcessed): Transaction\n }\n\n schema {\n query: Query\n }\n";
2
+ //# sourceMappingURL=root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../../src/schema/type-defs/root.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,wmBAiBxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ 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: [Address]\n writable: [Address]\n }\n\n type TransactionInnerInstruction {\n index: Int\n instructions: [TransactionInstruction]\n }\n\n type TransactionMeta {\n computeUnitsConsumed: BigInt\n err: String\n fee: Lamports\n innerInstructions: [TransactionInnerInstruction]\n loadedAddresses: TransactionLoadedAddresses\n logMessages: [String]\n postBalances: [Lamports]\n postTokenBalances: [TokenBalance]\n preBalances: [Lamports]\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: Hash\n }\n\n \"\"\"\n A Solana transaction\n \"\"\"\n type Transaction {\n blockTime: BigInt\n data(encoding: TransactionEncoding!): String\n message: TransactionMessage\n meta: TransactionMeta\n signatures: [Signature]\n slot: Slot\n version: String\n }\n";
2
+ //# sourceMappingURL=transaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../../src/schema/type-defs/transaction.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,s8DA0E/B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const typeTypeDefs = "\n enum AccountEncoding {\n BASE_58\n BASE_64\n BASE_64_ZSTD\n }\n\n scalar Address\n\n scalar Base58EncodedBytes\n\n scalar Base64EncodedBytes\n\n scalar Base64ZstdEncodedBytes\n\n scalar BigInt\n\n enum Commitment {\n CONFIRMED\n FINALIZED\n PROCESSED\n }\n\n enum CommitmentWithoutProcessed {\n CONFIRMED\n FINALIZED\n }\n\n input DataSlice {\n offset: Int!\n length: Int!\n }\n\n scalar Epoch\n\n scalar Hash\n\n scalar Lamports\n\n input ProgramAccountsDataSizeFilter {\n dataSize: BigInt!\n }\n\n enum ProgramAccountsMemcmpFilterAccountEncoding {\n BASE_58\n BASE_64\n }\n\n input ProgramAccountsMemcmpFilter {\n bytes: String!\n encoding: ProgramAccountsMemcmpFilterAccountEncoding!\n offset: BigInt!\n }\n\n type ReturnData {\n data: Base64EncodedBytes\n programId: Address\n }\n\n type Reward {\n commission: Int\n lamports: Lamports\n postBalance: BigInt\n pubkey: Address\n rewardType: String\n }\n\n scalar Signature\n\n scalar Slot\n\n enum SplTokenDefaultAccountState {\n FROZEN\n INITIALIZED\n UNINITIALIZED\n }\n\n enum SplTokenExtensionType {\n UNINITIALIZED\n TRANSFER_FEE_CONFIG\n TRANSFER_FEE_AMOUNT\n MINT_CLOSE_AUTHORITY\n CONFIDENTIAL_TRANSFER_MINT\n CONFIDENTIAL_TRANSFER_ACCOUNT\n DEFAULT_ACCOUNT_STATE\n IMMUTABLE_OWNER\n MEMO_TRANSFER\n NON_TRANSFERABLE\n INTEREST_BEARING_CONFIG\n CPI_GUARD\n PERMANENT_DELEGATE\n NON_TRANSFERABLE_ACCOUNT\n CONFIDENTIAL_TRANSFER_FEE_CONFIG\n CONFIDENTIAL_TRANSFER_FEE_AMOUNT\n TRANSFER_HOOK\n TRANSFER_HOOK_ACCOUNT\n METADATA_POINTER\n TOKEN_METADATA\n GROUP_POINTER\n GROUP_MEMBER_POINTER\n TOKEN_GROUP\n TOKEN_GROUP_MEMBER\n UNPARSEABLE_EXTENSION\n }\n\n type TokenAmount {\n amount: BigInt\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 }\n";
2
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/schema/type-defs/types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,25EA4HxB,CAAC"}