Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solana/rpc-parsed-types

Package Overview
Dependencies
Maintainers
15
Versions
999
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/rpc-parsed-types - npm Package Compare versions

Comparing version 2.0.0-experimental.cee6f23 to 2.0.0-experimental.d603013

dist/types/nonce-accounts.d.ts

3

dist/types/address-lookup-table-accounts.d.ts
import type { Address } from '@solana/addresses';
import type { StringifiedBigInt } from '@solana/rpc-types';
export type AddressLookupTableAccount = Readonly<{
import { RpcParsedInfo } from './rpc-parsed-type.js';
export type JsonParsedAddressLookupTableAccount = RpcParsedInfo<{
addresses: readonly Address[];

@@ -5,0 +6,0 @@ authority?: Address;

import type { Address } from '@solana/addresses';
import type { Base64EncodedDataResponse, Slot } from '@solana/rpc-types';
import type { RpcParsedType } from './rpc-parsed-type.js';
type ProgramAccount = Readonly<{
type JsonParsedBpfProgramAccount = Readonly<{
programData: Address;
}>;
type ProgramDataAccount = Readonly<{
type JsonParsedBpfProgramDataAccount = Readonly<{
authority?: Address;

@@ -12,4 +12,4 @@ data: Base64EncodedDataResponse;

}>;
export type BpfUpgradeableProgramAccount = RpcParsedType<'program', ProgramAccount> | RpcParsedType<'programData', ProgramDataAccount>;
export type JsonParsedBpfUpgradeableLoaderProgramAccount = RpcParsedType<'program', JsonParsedBpfProgramAccount> | RpcParsedType<'programData', JsonParsedBpfProgramDataAccount>;
export {};
//# sourceMappingURL=bpf-upgradeable-loader-accounts.d.ts.map
import type { Address } from '@solana/addresses';
import type { RpcParsedType } from './rpc-parsed-type.js';
type StakeConfigAccount = Readonly<{
type JsonParsedStakeConfigAccount = Readonly<{
slashPenalty: number;
warmupCooldownRate: number;
}>;
type ValidatorInfoAccount = Readonly<{
type JsonParsedValidatorInfoAccount = Readonly<{
configData: unknown;

@@ -14,4 +14,4 @@ keys: {

}>;
export type ConfigProgramAccount = RpcParsedType<'stakeConfig', StakeConfigAccount> | RpcParsedType<'validatorInfo', ValidatorInfoAccount>;
export type JsonParsedConfigProgramAccount = RpcParsedType<'stakeConfig', JsonParsedStakeConfigAccount> | RpcParsedType<'validatorInfo', JsonParsedValidatorInfoAccount>;
export {};
//# sourceMappingURL=config-accounts.d.ts.map
export * from './address-lookup-table-accounts.js';
export * from './bpf-upgradeable-loader-accounts.js';
export * from './config-accounts.js';
export * from './nonce-accounts.js';
export * from './rpc-parsed-type.js';
export * from './stake-accounts.js';
export * from './sysvar-accounts.js';
export * from './token-accounts.js';
export * from './vote-accounts.js';
//# sourceMappingURL=index.d.ts.map

@@ -5,2 +5,5 @@ export type RpcParsedType<TType extends string, TInfo> = Readonly<{

}>;
export type RpcParsedInfo<TInfo> = Readonly<{
info: TInfo;
}>;
//# sourceMappingURL=rpc-parsed-type.d.ts.map
import type { Address } from '@solana/addresses';
import type { TokenAmount } from '@solana/rpc-types';
import type { StringifiedBigInt, TokenAmount } from '@solana/rpc-types';
import { RpcParsedType } from './rpc-parsed-type.js';
type TokenAccountState = 'initialized' | 'uninitialized' | 'frozen';
export type TokenAccount = Readonly<{
export type JsonParsedTokenAccount = Readonly<{
mint: Address;

@@ -14,5 +15,20 @@ owner: Address;

closeAuthority?: Address;
extensions?: unknown[];
extensions?: readonly unknown[];
}>;
type JsonParsedMintAccount = Readonly<{
mintAuthority: Address | null;
supply: StringifiedBigInt;
decimals: number;
isInitialized: boolean;
freezeAuthority: Address | null;
extensions?: readonly unknown[];
}>;
type JsonParsedMultisigAccount = Readonly<{
numRequiredSigners: number;
numValidSigners: number;
isInitialized: boolean;
signers: readonly Address[];
}>;
export type JsonParsedTokenProgramAccount = RpcParsedType<'account', JsonParsedTokenAccount> | RpcParsedType<'mint', JsonParsedMintAccount> | RpcParsedType<'multisig', JsonParsedMultisigAccount>;
export {};
//# sourceMappingURL=token-accounts.d.ts.map
{
"name": "@solana/rpc-parsed-types",
"version": "2.0.0-experimental.cee6f23",
"version": "2.0.0-experimental.d603013",
"description": "Type definitions for parsed types used in the Solana RPC",

@@ -61,6 +61,6 @@ "exports": {

"version-from-git": "^1.1.1",
"@solana/addresses": "2.0.0-experimental.cee6f23",
"@solana/rpc-types": "2.0.0-experimental.cee6f23",
"@solana/addresses": "2.0.0-experimental.d603013",
"@solana/rpc-types": "2.0.0-experimental.d603013",
"build-scripts": "0.0.0",
"test-config": "0.0.0",
"build-scripts": "0.0.0",
"tsconfig": "0.0.0"

@@ -67,0 +67,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc