Socket
Socket
Sign inDemoInstall

@solana/rpc-core

Package Overview
Dependencies
Maintainers
14
Versions
456
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/rpc-core - npm Package Compare versions

Comparing version 2.0.0-experimental.68e85dc to 2.0.0-experimental.699bde0

dist/types/index.d.ts.map

24

dist/types/rpc-methods/common-transactions.d.ts

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { LamportsUnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types';

@@ -8,3 +8,3 @@ import { Blockhash, TransactionVersion } from '@solana/transactions';

/** public key for an address lookup table account. */
accountKey: Base58EncodedAddress;
accountKey: Address;
/** List of indices used to load addresses of writable accounts from a lookup table. */

@@ -21,12 +21,12 @@ writableIndexes: readonly number[];

program: string;
programId: Base58EncodedAddress;
programId: Address;
}>;
type PartiallyDecodedTransactionInstruction = Readonly<{
accounts: readonly Base58EncodedAddress[];
accounts: readonly Address[];
data: Base58EncodedBytes;
programId: Base58EncodedAddress;
programId: Address;
}>;
type ReturnData = {
/** the program that generated the return data */
programId: Base58EncodedAddress;
programId: Address;
/** the return data itself */

@@ -41,3 +41,3 @@ data: Base64EncodedDataResponse;

type TransactionParsedAccountLegacy = Readonly<{
pubkey: Base58EncodedAddress;
pubkey: Address;
signer: boolean;

@@ -48,3 +48,3 @@ source: 'transaction';

type TransactionParsedAccountVersioned = Readonly<{
pubkey: Base58EncodedAddress;
pubkey: Address;
signer: boolean;

@@ -142,4 +142,4 @@ source: 'lookupTable' | 'transaction';

loadedAddresses: {
writable: readonly Base58EncodedAddress[];
readonly: readonly Base58EncodedAddress[];
writable: readonly Address[];
readonly: readonly Address[];
};

@@ -208,3 +208,3 @@ }>;

message: {
accountKeys: readonly Base58EncodedAddress[];
accountKeys: readonly Address[];
header: {

@@ -230,3 +230,3 @@ numReadonlySignedAccounts: number;

/** The public key of the account that received the reward */
pubkey: Base58EncodedAddress;
pubkey: Address;
/** number of reward lamports credited or debited by the account */

@@ -233,0 +233,0 @@ lamports: SignedLamportsAsI64Unsafe;

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { LamportsUnsafeBeyond2Pow53Minus1, StringifiedBigInt, StringifiedNumber } from '@solana/rpc-types';

@@ -32,5 +32,2 @@ export type DataSlice = Readonly<{

export type Base64EncodedZStdCompressedDataResponse = [Base64EncodedZStdCompressedBytes, 'base64+zstd'];
export type Base58EncodedTransactionSignature = string & {
readonly __brand: unique symbol;
};
export type AccountInfoBase = Readonly<{

@@ -42,3 +39,3 @@ /** indicates if the account contains a program (and is strictly read-only) */

/** pubkey of the program this account has been assigned to */
owner: Base58EncodedAddress;
owner: Address;
/** the epoch at which this account will next owe rent */

@@ -70,3 +67,3 @@ rentEpoch: U64UnsafeBeyond2Pow53Minus1;

account: TAccount;
pubkey: Base58EncodedAddress;
pubkey: Address;
}>;

@@ -83,7 +80,7 @@ export type TokenAmount = Readonly<{

/** Pubkey of the token's mint. */
mint: Base58EncodedAddress;
mint: Address;
/** Pubkey of token balance's owner. */
owner?: Base58EncodedAddress;
owner?: Address;
/** Pubkey of the Token program that owns the account. */
programId?: Base58EncodedAddress;
programId?: Address;
uiTokenAmount: TokenAmount;

@@ -93,6 +90,6 @@ }>;

export type TokenAccount = Readonly<{
mint: Base58EncodedAddress;
owner: Base58EncodedAddress;
mint: Address;
owner: Address;
tokenAmount: TokenAmount;
delegate?: Base58EncodedAddress;
delegate?: Address;
state: TokenAccountState;

@@ -102,3 +99,3 @@ isNative: boolean;

delegatedAmount?: TokenAmount;
closeAuthority?: Base58EncodedAddress;
closeAuthority?: Address;
extensions?: unknown[];

@@ -105,0 +102,0 @@ }>;

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -19,17 +19,17 @@ import { AccountInfoBase, AccountInfoWithBase58Bytes, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, DataSlice, RpcResponse, Slot } from './common';

*/
getAccountInfo(address: Base58EncodedAddress, config: GetAccountInfoApiCommonConfig & GetAccountInfoApiSliceableCommonConfig & Readonly<{
getAccountInfo(address: Address, config: GetAccountInfoApiCommonConfig & GetAccountInfoApiSliceableCommonConfig & Readonly<{
encoding: 'base64';
}>): GetAccountInfoApiResponseBase & NestInRpcResponseOrNull<AccountInfoWithBase64EncodedData>;
getAccountInfo(address: Base58EncodedAddress, config: GetAccountInfoApiCommonConfig & GetAccountInfoApiSliceableCommonConfig & Readonly<{
getAccountInfo(address: Address, config: GetAccountInfoApiCommonConfig & GetAccountInfoApiSliceableCommonConfig & Readonly<{
encoding: 'base64+zstd';
}>): GetAccountInfoApiResponseBase & NestInRpcResponseOrNull<AccountInfoWithBase64EncodedZStdCompressedData>;
getAccountInfo(address: Base58EncodedAddress, config: GetAccountInfoApiCommonConfig & Readonly<{
getAccountInfo(address: Address, config: GetAccountInfoApiCommonConfig & Readonly<{
encoding: 'jsonParsed';
}>): GetAccountInfoApiResponseBase & NestInRpcResponseOrNull<AccountInfoWithJsonData>;
getAccountInfo(address: Base58EncodedAddress, config: GetAccountInfoApiCommonConfig & GetAccountInfoApiSliceableCommonConfig & Readonly<{
getAccountInfo(address: Address, config: GetAccountInfoApiCommonConfig & GetAccountInfoApiSliceableCommonConfig & Readonly<{
encoding: 'base58';
}>): GetAccountInfoApiResponseBase & NestInRpcResponseOrNull<AccountInfoWithBase58EncodedData>;
getAccountInfo(address: Base58EncodedAddress, config?: GetAccountInfoApiCommonConfig): GetAccountInfoApiResponseBase & NestInRpcResponseOrNull<AccountInfoWithBase58Bytes>;
getAccountInfo(address: Address, config?: GetAccountInfoApiCommonConfig): GetAccountInfoApiResponseBase & NestInRpcResponseOrNull<AccountInfoWithBase58Bytes>;
}
export {};
//# sourceMappingURL=getAccountInfo.d.ts.map

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment, LamportsUnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types';

@@ -9,3 +9,3 @@ import { RpcResponse, Slot } from './common';

*/
getBalance(address: Base58EncodedAddress, config?: Readonly<{
getBalance(address: Address, config?: Readonly<{
commitment?: Commitment;

@@ -12,0 +12,0 @@ minContextSlot?: Slot;

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -19,3 +19,3 @@ import { RpcResponse, Slot, U64UnsafeBeyond2Pow53Minus1 } from './common';

value: Readonly<{
byIdentity: Record<Base58EncodedAddress, [NumberOfLeaderSlots, NumberOfBlocksProduced]>;
byIdentity: Record<Address, [NumberOfLeaderSlots, NumberOfBlocksProduced]>;
}>;

@@ -34,3 +34,3 @@ }>;

*/
getBlockProduction<TIdentity extends Base58EncodedAddress>(config: GetBlockProductionApiConfigBase & Readonly<{
getBlockProduction<TIdentity extends Address>(config: GetBlockProductionApiConfigBase & Readonly<{
identity: TIdentity;

@@ -37,0 +37,0 @@ }>): GetBlockProductionApiResponseBase & GetBlockProductionApiResponseWithSingleIdentity<TIdentity>;

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
type GetClusterNodesNode = Readonly<{

@@ -8,3 +8,3 @@ /** The unique identifier of the node's feature set */

/** Node public key, as base-58 encoded string */
pubkey: Base58EncodedAddress;
pubkey: Address;
/**

@@ -11,0 +11,0 @@ * JSON RPC network address for the node,

@@ -1,4 +0,4 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
type GetIdentityApiResponse = Readonly<{
identity: Base58EncodedAddress;
identity: Address;
}>;

@@ -5,0 +5,0 @@ export interface GetIdentityApi {

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment, LamportsUnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types';

@@ -15,3 +15,3 @@ import { Slot, U64UnsafeBeyond2Pow53Minus1 } from './common';

*/
getInflationReward(addresses: Base58EncodedAddress[], config?: Readonly<{
getInflationReward(addresses: Address[], config?: Readonly<{
commitment?: Commitment;

@@ -18,0 +18,0 @@ epoch?: U64UnsafeBeyond2Pow53Minus1;

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment, LamportsUnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types';

@@ -6,3 +6,3 @@ import { RpcResponse } from './common';

/** Base-58 encoded address of the account */
address: Base58EncodedAddress;
address: Address;
/** Number of lamports in the account */

@@ -9,0 +9,0 @@ lamports: LamportsUnsafeBeyond2Pow53Minus1;

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -21,3 +21,3 @@ import { Slot } from './common';

type GetLeaderScheduleApiResponseBase = Readonly<{
[key: Base58EncodedAddress]: Slot[];
[key: Address]: Slot[];
}>;

@@ -36,3 +36,3 @@ export interface GetLeaderScheduleApi {

/** Only return results for this validator identity (base58 encoded address) */
identity?: Base58EncodedAddress;
identity?: Address;
}>): GetLeaderScheduleApiResponseBase | null;

@@ -42,3 +42,3 @@ getLeaderSchedule(config?: Readonly<{

/** Only return results for this validator identity (base58 encoded address) */
identity?: Base58EncodedAddress;
identity?: Address;
}>): GetLeaderScheduleApiResponseBase;

@@ -45,0 +45,0 @@ }

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -21,3 +21,3 @@ import { AccountInfoBase, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, DataSlice, RpcResponse, Slot } from './common';

/** An array of up to 100 Pubkeys to query */
addresses: Base58EncodedAddress[], config: GetMultipleAccountsApiCommonConfig & GetMultipleAccountsApiSliceableCommonConfig & Readonly<{
addresses: Address[], config: GetMultipleAccountsApiCommonConfig & GetMultipleAccountsApiSliceableCommonConfig & Readonly<{
encoding: 'base64';

@@ -27,3 +27,3 @@ }>): RpcResponse<(GetMultipleAccountsApiResponseBase & (AccountInfoWithBase64EncodedData | null))[]>;

/** An array of up to 100 Pubkeys to query */
addresses: Base58EncodedAddress[], config: GetMultipleAccountsApiCommonConfig & GetMultipleAccountsApiSliceableCommonConfig & Readonly<{
addresses: Address[], config: GetMultipleAccountsApiCommonConfig & GetMultipleAccountsApiSliceableCommonConfig & Readonly<{
encoding: 'base64+zstd';

@@ -33,3 +33,3 @@ }>): RpcResponse<(GetMultipleAccountsApiResponseBase & (AccountInfoWithBase64EncodedZStdCompressedData | null))[]>;

/** An array of up to 100 Pubkeys to query */
addresses: Base58EncodedAddress[], config: GetMultipleAccountsApiCommonConfig & Readonly<{
addresses: Address[], config: GetMultipleAccountsApiCommonConfig & Readonly<{
encoding: 'jsonParsed';

@@ -39,3 +39,3 @@ }>): RpcResponse<(GetMultipleAccountsApiResponseBase & (AccountInfoWithJsonData | null))[]>;

/** An array of up to 100 Pubkeys to query */
addresses: Base58EncodedAddress[], config: GetMultipleAccountsApiCommonConfig & GetMultipleAccountsApiSliceableCommonConfig & Readonly<{
addresses: Address[], config: GetMultipleAccountsApiCommonConfig & GetMultipleAccountsApiSliceableCommonConfig & Readonly<{
encoding: 'base58';

@@ -45,5 +45,5 @@ }>): RpcResponse<(GetMultipleAccountsApiResponseBase & (AccountInfoWithBase58EncodedData | null))[]>;

/** An array of up to 100 Pubkeys to query */
addresses: Base58EncodedAddress[], config?: GetMultipleAccountsApiCommonConfig): RpcResponse<(GetMultipleAccountsApiResponseBase & (AccountInfoWithBase64EncodedData | null))[]>;
addresses: Address[], config?: GetMultipleAccountsApiCommonConfig): RpcResponse<(GetMultipleAccountsApiResponseBase & (AccountInfoWithBase64EncodedData | null))[]>;
}
export {};
//# sourceMappingURL=getMultipleAccounts.d.ts.map

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -20,38 +20,38 @@ import { AccountInfoBase, AccountInfoWithBase58Bytes, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, AccountInfoWithPubkey, DataSlice, GetProgramAccountsDatasizeFilter, GetProgramAccountsMemcmpFilter, RpcResponse, Slot } from './common';

*/
getProgramAccounts(program: Base58EncodedAddress, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
getProgramAccounts(program: Address, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
encoding: 'base64';
withContext: true;
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase64EncodedData>[]>;
getProgramAccounts(program: Base58EncodedAddress, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
getProgramAccounts(program: Address, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
encoding: 'base64';
withContext?: boolean;
}>): AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase64EncodedData>[];
getProgramAccounts(program: Base58EncodedAddress, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
getProgramAccounts(program: Address, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
encoding: 'base64+zstd';
withContext: true;
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData>[]>;
getProgramAccounts(program: Base58EncodedAddress, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
getProgramAccounts(program: Address, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
encoding: 'base64+zstd';
withContext?: boolean;
}>): AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData>[];
getProgramAccounts(program: Base58EncodedAddress, config: GetProgramAccountsApiCommonConfig & Readonly<{
getProgramAccounts(program: Address, config: GetProgramAccountsApiCommonConfig & Readonly<{
encoding: 'jsonParsed';
withContext: true;
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithJsonData>[]>;
getProgramAccounts(program: Base58EncodedAddress, config: GetProgramAccountsApiCommonConfig & Readonly<{
getProgramAccounts(program: Address, config: GetProgramAccountsApiCommonConfig & Readonly<{
encoding: 'jsonParsed';
withContext?: boolean;
}>): AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithJsonData>[];
getProgramAccounts(program: Base58EncodedAddress, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
getProgramAccounts(program: Address, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
encoding: 'base58';
withContext: true;
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase58EncodedData>[]>;
getProgramAccounts(program: Base58EncodedAddress, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
getProgramAccounts(program: Address, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
encoding: 'base58';
withContext?: boolean;
}>): AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase58EncodedData>[];
getProgramAccounts(program: Base58EncodedAddress, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
getProgramAccounts(program: Address, config: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
withContext: true;
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase58Bytes>[]>;
getProgramAccounts(program: Base58EncodedAddress, config?: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
getProgramAccounts(program: Address, config?: GetProgramAccountsApiCommonConfig & GetProgramAccountsApiSliceableCommonConfig & Readonly<{
withContext?: boolean;

@@ -58,0 +58,0 @@ }>): AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase58Bytes>[];

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { MicroLamportsUnsafeBeyond2Pow53Minus1, Slot } from './common';

@@ -26,5 +26,5 @@ type GetRecentPrioritizationFeesApiResponse = Readonly<{

*/
addresses?: Base58EncodedAddress[]): GetRecentPrioritizationFeesApiResponse;
addresses?: Address[]): GetRecentPrioritizationFeesApiResponse;
}
export {};
//# sourceMappingURL=getRecentPrioritizationFees.d.ts.map

@@ -1,9 +0,9 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Signature } from '@solana/keys';
import { Commitment, UnixTimestamp } from '@solana/rpc-types';
import { TransactionSignature } from '@solana/transactions';
import { TransactionError } from '../transaction-error';
import { RpcResponse, Slot } from './common';
type GetSignaturesForAddressTransaction = RpcResponse<{
import { Slot } from './common';
type GetSignaturesForAddressTransaction = Readonly<{
/** transaction signature as base-58 encoded string */
signature: TransactionSignature;
signature: Signature;
/** The slot that contains the block with the transaction */

@@ -29,5 +29,5 @@ slot: Slot;

/** start searching backwards from this transaction signature. If not provided the search starts from the top of the highest max confirmed block. */
before?: TransactionSignature;
before?: Signature;
/** search until this transaction signature, if found before limit reached */
until?: TransactionSignature;
until?: Signature;
}>;

@@ -39,5 +39,5 @@ export interface GetSignaturesForAddressApi {

*/
getSignaturesForAddress(address: Base58EncodedAddress, config?: GetSignaturesForAddressConfig): GetSignaturesForAddressApiResponse;
getSignaturesForAddress(address: Address, config?: GetSignaturesForAddressConfig): GetSignaturesForAddressApiResponse;
}
export {};
//# sourceMappingURL=getSignaturesForAddress.d.ts.map

@@ -0,3 +1,3 @@

import { Signature } from '@solana/keys';
import { Commitment } from '@solana/rpc-types';
import { TransactionSignature } from '@solana/transactions';
import { TransactionError } from '../transaction-error';

@@ -50,3 +50,3 @@ import { RpcResponse, Slot, U64UnsafeBeyond2Pow53Minus1 } from './common';

*/
signatures: TransactionSignature[], config?: Readonly<{
signatures: Signature[], config?: Readonly<{
/**

@@ -53,0 +53,0 @@ * if `true` - a Solana node will search its ledger cache for any

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -11,4 +11,4 @@ import { Slot } from './common';

minContextSlot?: Slot;
}>): Base58EncodedAddress;
}>): Address;
}
//# sourceMappingURL=getSlotLeader.d.ts.map

@@ -1,5 +0,5 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Slot } from './common';
/** array of Node identity public keys as base-58 encoded strings */
type GetSlotLeadersApiResponse = Base58EncodedAddress[];
type GetSlotLeadersApiResponse = Address[];
export interface GetSlotLeadersApi {

@@ -6,0 +6,0 @@ /**

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -16,3 +16,3 @@ import { Slot, U64UnsafeBeyond2Pow53Minus1 } from './common';

*/
getStakeActivation(address: Base58EncodedAddress, config?: Readonly<{
getStakeActivation(address: Address, config?: Readonly<{
commitment?: Commitment;

@@ -19,0 +19,0 @@ minContextSlot?: Slot;

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment, LamportsUnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types';

@@ -19,3 +19,3 @@ import { RpcResponse } from './common';

/** an array of account addresses of non-circulating accounts */
nonCirculatingAccounts: [Base58EncodedAddress];
nonCirculatingAccounts: [Address];
}>;

@@ -22,0 +22,0 @@ }>;

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -11,3 +11,3 @@ import { RpcResponse, TokenAmount } from './common';

/** Pubkey of Token account to query, as base-58 encoded string */
address: Base58EncodedAddress, config?: Readonly<{
address: Address, config?: Readonly<{
commitment?: Commitment;

@@ -14,0 +14,0 @@ }>): GetTokenAccountBalanceApiResponse;

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -17,7 +17,7 @@ import { AccountInfoBase, AccountInfoWithBase58Bytes, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithPubkey, DataSlice, RpcResponse, Slot, TokenAccount, U64UnsafeBeyond2Pow53Minus1 } from './common';

/** Pubkey of the specific token Mint to limit accounts to */
mint: Base58EncodedAddress;
mint: Address;
}>;
type ProgramIdFilter = Readonly<{
/** Pubkey of the Token program that owns the accounts */
programId: Base58EncodedAddress;
programId: Address;
}>;

@@ -39,17 +39,17 @@ type AccountsFilter = MintFilter | ProgramIdFilter;

*/
getTokenAccountsByDelegate(program: Base58EncodedAddress, filter: AccountsFilter, config: GetTokenAccountsByDelegateApiCommonConfig & GetTokenAccountsByDelegateApiSliceableCommonConfig & Readonly<{
getTokenAccountsByDelegate(program: Address, filter: AccountsFilter, config: GetTokenAccountsByDelegateApiCommonConfig & GetTokenAccountsByDelegateApiSliceableCommonConfig & Readonly<{
encoding: 'base64';
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase64EncodedData>[]>;
getTokenAccountsByDelegate(program: Base58EncodedAddress, filter: AccountsFilter, config: GetTokenAccountsByDelegateApiCommonConfig & GetTokenAccountsByDelegateApiSliceableCommonConfig & Readonly<{
getTokenAccountsByDelegate(program: Address, filter: AccountsFilter, config: GetTokenAccountsByDelegateApiCommonConfig & GetTokenAccountsByDelegateApiSliceableCommonConfig & Readonly<{
encoding: 'base64+zstd';
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData>[]>;
getTokenAccountsByDelegate(program: Base58EncodedAddress, filter: AccountsFilter, config: GetTokenAccountsByDelegateApiCommonConfig & Readonly<{
getTokenAccountsByDelegate(program: Address, filter: AccountsFilter, config: GetTokenAccountsByDelegateApiCommonConfig & Readonly<{
encoding: 'jsonParsed';
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & TokenAccountInfoWithJsonData>[]>;
getTokenAccountsByDelegate(program: Base58EncodedAddress, filter: AccountsFilter, config: GetTokenAccountsByDelegateApiCommonConfig & GetTokenAccountsByDelegateApiSliceableCommonConfig & Readonly<{
getTokenAccountsByDelegate(program: Address, filter: AccountsFilter, config: GetTokenAccountsByDelegateApiCommonConfig & GetTokenAccountsByDelegateApiSliceableCommonConfig & Readonly<{
encoding: 'base58';
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase58EncodedData>[]>;
getTokenAccountsByDelegate(program: Base58EncodedAddress, filter: AccountsFilter, config?: GetTokenAccountsByDelegateApiCommonConfig & GetTokenAccountsByDelegateApiSliceableCommonConfig): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase58Bytes>[]>;
getTokenAccountsByDelegate(program: Address, filter: AccountsFilter, config?: GetTokenAccountsByDelegateApiCommonConfig & GetTokenAccountsByDelegateApiSliceableCommonConfig): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase58Bytes>[]>;
}
export {};
//# sourceMappingURL=getTokenAccountsByDelegate.d.ts.map

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -17,7 +17,7 @@ import { AccountInfoBase, AccountInfoWithBase58Bytes, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithPubkey, DataSlice, RpcResponse, Slot, TokenAccount, U64UnsafeBeyond2Pow53Minus1 } from './common';

/** Pubkey of the specific token Mint to limit accounts to */
mint: Base58EncodedAddress;
mint: Address;
}>;
type ProgramIdFilter = Readonly<{
/** Pubkey of the Token program that owns the accounts */
programId: Base58EncodedAddress;
programId: Address;
}>;

@@ -39,17 +39,17 @@ type AccountsFilter = MintFilter | ProgramIdFilter;

*/
getTokenAccountsByOwner(program: Base58EncodedAddress, filter: AccountsFilter, config: GetTokenAccountsByOwnerApiCommonConfig & GetTokenAccountsByOwnerApiSliceableCommonConfig & Readonly<{
getTokenAccountsByOwner(owner: Address, filter: AccountsFilter, config: GetTokenAccountsByOwnerApiCommonConfig & GetTokenAccountsByOwnerApiSliceableCommonConfig & Readonly<{
encoding: 'base64';
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase64EncodedData>[]>;
getTokenAccountsByOwner(program: Base58EncodedAddress, filter: AccountsFilter, config: GetTokenAccountsByOwnerApiCommonConfig & GetTokenAccountsByOwnerApiSliceableCommonConfig & Readonly<{
getTokenAccountsByOwner(owner: Address, filter: AccountsFilter, config: GetTokenAccountsByOwnerApiCommonConfig & GetTokenAccountsByOwnerApiSliceableCommonConfig & Readonly<{
encoding: 'base64+zstd';
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData>[]>;
getTokenAccountsByOwner(program: Base58EncodedAddress, filter: AccountsFilter, config: GetTokenAccountsByOwnerApiCommonConfig & Readonly<{
getTokenAccountsByOwner(owner: Address, filter: AccountsFilter, config: GetTokenAccountsByOwnerApiCommonConfig & Readonly<{
encoding: 'jsonParsed';
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & TokenAccountInfoWithJsonData>[]>;
getTokenAccountsByOwner(program: Base58EncodedAddress, filter: AccountsFilter, config: GetTokenAccountsByOwnerApiCommonConfig & GetTokenAccountsByOwnerApiSliceableCommonConfig & Readonly<{
getTokenAccountsByOwner(owner: Address, filter: AccountsFilter, config: GetTokenAccountsByOwnerApiCommonConfig & GetTokenAccountsByOwnerApiSliceableCommonConfig & Readonly<{
encoding: 'base58';
}>): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase58EncodedData>[]>;
getTokenAccountsByOwner(program: Base58EncodedAddress, filter: AccountsFilter, config?: GetTokenAccountsByOwnerApiCommonConfig & GetTokenAccountsByOwnerApiSliceableCommonConfig): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase58Bytes>[]>;
getTokenAccountsByOwner(owner: Address, filter: AccountsFilter, config?: GetTokenAccountsByOwnerApiCommonConfig & GetTokenAccountsByOwnerApiSliceableCommonConfig): RpcResponse<AccountInfoWithPubkey<AccountInfoBase & AccountInfoWithBase58Bytes>[]>;
}
export {};
//# sourceMappingURL=getTokenAccountsByOwner.d.ts.map

@@ -1,6 +0,6 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';
import { RpcResponse, TokenAmount } from './common';
type GetTokenLargestAccountsApiResponse = RpcResponse<TokenAmount & {
address: Base58EncodedAddress;
address: Address;
}[]>;

@@ -11,3 +11,3 @@ export interface GetTokenLargestAccountsApi {

*/
getTokenLargestAccounts(tokenMint: Base58EncodedAddress, config?: Readonly<{
getTokenLargestAccounts(tokenMint: Address, config?: Readonly<{
commitment?: Commitment;

@@ -14,0 +14,0 @@ }>): GetTokenLargestAccountsApiResponse;

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -11,3 +11,3 @@ import { RpcResponse, TokenAmount } from './common';

/** Pubkey of the token Mint to query, as base-58 encoded string */
address: Base58EncodedAddress, config?: Readonly<{
address: Address, config?: Readonly<{
commitment?: Commitment;

@@ -14,0 +14,0 @@ }>): GetTokenSupplyApiResponse;

@@ -1,5 +0,5 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Signature } from '@solana/keys';
import { Commitment, LamportsUnsafeBeyond2Pow53Minus1, UnixTimestamp } from '@solana/rpc-types';
import { Blockhash, TransactionVersion } from '@solana/transactions';
import { TransactionSignature } from '@solana/transactions';
import { TransactionError } from '../transaction-error';

@@ -10,3 +10,3 @@ import { Base58EncodedBytes, Base58EncodedDataResponse, Base64EncodedDataResponse, Slot, TokenBalance, U64UnsafeBeyond2Pow53Minus1 } from './common';

/** the program that generated the return data */
programId: Base58EncodedAddress;
programId: Address;
/** the return data itself */

@@ -44,3 +44,3 @@ data: Base64EncodedDataResponse;

/** public key for an address lookup table account. */
accountKey: Base58EncodedAddress;
accountKey: Address;
/** List of indices used to load addresses of writable accounts from a lookup table. */

@@ -64,3 +64,3 @@ writableIndexes: readonly number[];

message: {
accountKeys: readonly Base58EncodedAddress[];
accountKeys: readonly Address[];
header: {

@@ -75,5 +75,5 @@ numReadonlySignedAccounts: number;

type PartiallyDecodedTransactionInstruction = Readonly<{
accounts: readonly Base58EncodedAddress[];
accounts: readonly Address[];
data: Base58EncodedBytes;
programId: Base58EncodedAddress;
programId: Address;
}>;

@@ -86,3 +86,3 @@ type ParsedTransactionInstruction = Readonly<{

program: string;
programId: Base58EncodedAddress;
programId: Address;
}>;

@@ -93,3 +93,3 @@ type TransactionJsonParsed = TransactionBase & Readonly<{

{
pubkey: Base58EncodedAddress;
pubkey: Address;
signer: boolean;

@@ -115,4 +115,4 @@ source: string;

loadedAddresses: {
writable: readonly Base58EncodedAddress[];
readonly: readonly Base58EncodedAddress[];
writable: readonly Address[];
readonly: readonly Address[];
};

@@ -139,3 +139,3 @@ }>;

*/
getTransaction<TMaxSupportedTransactionVersion extends TransactionVersion | void = void>(signature: TransactionSignature, config: GetTransactionCommonConfig<TMaxSupportedTransactionVersion> & Readonly<{
getTransaction<TMaxSupportedTransactionVersion extends TransactionVersion | void = void>(signature: Signature, config: GetTransactionCommonConfig<TMaxSupportedTransactionVersion> & Readonly<{
encoding: 'jsonParsed';

@@ -148,3 +148,3 @@ }>): (GetTransactionApiResponseBase & (TMaxSupportedTransactionVersion extends void ? Record<string, never> : {

}) | null;
getTransaction<TMaxSupportedTransactionVersion extends TransactionVersion | void = void>(signature: TransactionSignature, config: GetTransactionCommonConfig<TMaxSupportedTransactionVersion> & Readonly<{
getTransaction<TMaxSupportedTransactionVersion extends TransactionVersion | void = void>(signature: Signature, config: GetTransactionCommonConfig<TMaxSupportedTransactionVersion> & Readonly<{
encoding: 'base64';

@@ -157,3 +157,3 @@ }>): (GetTransactionApiResponseBase & (TMaxSupportedTransactionVersion extends void ? Record<string, never> : {

}) | null;
getTransaction<TMaxSupportedTransactionVersion extends TransactionVersion | void = void>(signature: TransactionSignature, config: GetTransactionCommonConfig<TMaxSupportedTransactionVersion> & Readonly<{
getTransaction<TMaxSupportedTransactionVersion extends TransactionVersion | void = void>(signature: Signature, config: GetTransactionCommonConfig<TMaxSupportedTransactionVersion> & Readonly<{
encoding: 'base58';

@@ -166,3 +166,3 @@ }>): (GetTransactionApiResponseBase & (TMaxSupportedTransactionVersion extends void ? Record<string, never> : {

}) | null;
getTransaction<TMaxSupportedTransactionVersion extends TransactionVersion | void = void>(signature: TransactionSignature, config?: GetTransactionCommonConfig<TMaxSupportedTransactionVersion> & Readonly<{
getTransaction<TMaxSupportedTransactionVersion extends TransactionVersion | void = void>(signature: Signature, config?: GetTransactionCommonConfig<TMaxSupportedTransactionVersion> & Readonly<{
encoding?: 'json';

@@ -169,0 +169,0 @@ }>): (GetTransactionApiResponseBase & (TMaxSupportedTransactionVersion extends void ? Record<string, never> : {

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -8,7 +8,7 @@ import { Slot, U64UnsafeBeyond2Pow53Minus1 } from './common';

type EpochCredit = [Epoch, Credits, PreviousCredits];
type VoteAccount<TVotePubkey extends Base58EncodedAddress> = Readonly<{
type VoteAccount<TVotePubkey extends Address> = Readonly<{
/** Vote account address */
votePubkey: TVotePubkey;
/** Validator identity */
nodePubkey: Base58EncodedAddress;
nodePubkey: Address;
/** the stake, in lamports, delegated to this vote account and active in this epoch */

@@ -27,7 +27,7 @@ activatedStake: U64UnsafeBeyond2Pow53Minus1;

}>;
type GetVoteAccountsApiResponse<TVotePubkey extends Base58EncodedAddress> = Readonly<{
type GetVoteAccountsApiResponse<TVotePubkey extends Address> = Readonly<{
current: readonly VoteAccount<TVotePubkey>[];
delinquent: readonly VoteAccount<TVotePubkey>[];
}>;
type GetVoteAccountsConfig<TVotePubkey extends Base58EncodedAddress> = Readonly<{
type GetVoteAccountsConfig<TVotePubkey extends Address> = Readonly<{
commitment?: Commitment;

@@ -43,5 +43,5 @@ /** Only return results for this validator vote address */

/** Returns the account info and associated stake for all the voting accounts in the current bank. */
getVoteAccounts<TVoteAccount extends Base58EncodedAddress>(config?: GetVoteAccountsConfig<TVoteAccount>): GetVoteAccountsApiResponse<TVoteAccount>;
getVoteAccounts<TVoteAccount extends Address>(config?: GetVoteAccountsConfig<TVoteAccount>): GetVoteAccountsApiResponse<TVoteAccount>;
}
export {};
//# sourceMappingURL=getVoteAccounts.d.ts.map

@@ -1,8 +0,8 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Signature } from '@solana/keys';
import { Commitment, LamportsUnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types';
import { Base58EncodedTransactionSignature } from './common';
type RequestAirdropConfig = Readonly<{
commitment?: Commitment;
}>;
type RequestAirdropResponse = Base58EncodedTransactionSignature;
type RequestAirdropResponse = Signature;
export interface RequestAirdropApi {

@@ -12,5 +12,5 @@ /**

*/
requestAirdrop(recipientAccount: Base58EncodedAddress, lamports: LamportsUnsafeBeyond2Pow53Minus1, config?: RequestAirdropConfig): RequestAirdropResponse;
requestAirdrop(recipientAccount: Address, lamports: LamportsUnsafeBeyond2Pow53Minus1, config?: RequestAirdropConfig): RequestAirdropResponse;
}
export {};
//# sourceMappingURL=requestAirdrop.d.ts.map

@@ -0,4 +1,5 @@

import { Signature } from '@solana/keys';
import { Commitment } from '@solana/rpc-types';
import { Base64EncodedWireTransaction } from '@solana/transactions';
import { Base58EncodedTransactionSignature, Slot } from './common';
import { Slot } from './common';
type SendTransactionConfig = Readonly<{

@@ -10,3 +11,3 @@ skipPreflight?: boolean;

}>;
type SendTransactionResponse = Base58EncodedTransactionSignature;
type SendTransactionResponse = Signature;
export interface SendTransactionApi {

@@ -13,0 +14,0 @@ /** @deprecated Set `encoding` to `'base64'` when calling this method */

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -34,3 +34,3 @@ import { Base64EncodedWireTransaction } from '@solana/transactions';

/** An `array` of accounts to return */
addresses: Base58EncodedAddress[];
addresses: Address[];
/** Encoding for returned Account data */

@@ -43,3 +43,3 @@ encoding: 'base64+zstd';

/** An `array` of accounts to return */
addresses: Base58EncodedAddress[];
addresses: Address[];
/** Encoding for returned Account data */

@@ -52,3 +52,3 @@ encoding: 'jsonParsed';

/** An `array` of accounts to return */
addresses: Base58EncodedAddress[];
addresses: Address[];
/** Encoding for returned Account data */

@@ -68,3 +68,3 @@ encoding?: 'base64';

/** The program that generated the return data */
programId: Base58EncodedAddress;
programId: Address;
/** The return data itself, as base-64 encoded binary data */

@@ -71,0 +71,0 @@ data: Base64EncodedDataResponse;

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -15,17 +15,17 @@ import { AccountInfoBase, AccountInfoWithBase58Bytes, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, RpcResponse } from '../rpc-methods/common';

*/
accountNotifications(address: Base58EncodedAddress, config: AccountNotificationsApiCommonConfig & Readonly<{
accountNotifications(address: Address, config: AccountNotificationsApiCommonConfig & Readonly<{
encoding: 'base64';
}>): RpcResponse<AccountInfoBase & AccountInfoWithBase64EncodedData>;
accountNotifications(address: Base58EncodedAddress, config: AccountNotificationsApiCommonConfig & Readonly<{
accountNotifications(address: Address, config: AccountNotificationsApiCommonConfig & Readonly<{
encoding: 'base64+zstd';
}>): RpcResponse<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData>;
accountNotifications(address: Base58EncodedAddress, config: AccountNotificationsApiCommonConfig & Readonly<{
accountNotifications(address: Address, config: AccountNotificationsApiCommonConfig & Readonly<{
encoding: 'jsonParsed';
}>): RpcResponse<AccountInfoBase & AccountInfoWithJsonData>;
accountNotifications(address: Base58EncodedAddress, config: AccountNotificationsApiCommonConfig & Readonly<{
accountNotifications(address: Address, config: AccountNotificationsApiCommonConfig & Readonly<{
encoding: 'base58';
}>): RpcResponse<AccountInfoBase & AccountInfoWithBase58EncodedData>;
accountNotifications(address: Base58EncodedAddress, config?: AccountNotificationsApiCommonConfig): RpcResponse<AccountInfoBase & AccountInfoWithBase58Bytes>;
accountNotifications(address: Address, config?: AccountNotificationsApiCommonConfig): RpcResponse<AccountInfoBase & AccountInfoWithBase58Bytes>;
}
export {};
//# sourceMappingURL=account-notifications.d.ts.map

@@ -1,4 +0,4 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Signature } from '@solana/keys';
import { Commitment } from '@solana/rpc-types';
import { TransactionSignature } from '@solana/transactions';
import { RpcResponse } from '../rpc-methods/common';

@@ -9,6 +9,6 @@ import { TransactionError } from '../transaction-error';

logs: readonly string[] | null;
signature: TransactionSignature;
signature: Signature;
}>>;
type LogsNotificationsApiFilter = 'all' | 'allWithVotes' | {
mentions: [Base58EncodedAddress];
mentions: [Address];
};

@@ -15,0 +15,0 @@ type LogsNotificationsApiConfig = Readonly<{

@@ -1,2 +0,2 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Commitment } from '@solana/rpc-types';

@@ -18,3 +18,3 @@ import { AccountInfoBase, AccountInfoWithBase58Bytes, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, Base58EncodedBytes, Base64EncodedBytes, RpcResponse, U64UnsafeBeyond2Pow53Minus1 } from '../rpc-methods/common';

type ProgramNotificationsApiNotificationBase<TData> = RpcResponse<Readonly<{
pubkey: Base58EncodedAddress;
pubkey: Address;
account: AccountInfoBase & TData;

@@ -31,17 +31,17 @@ }>>;

*/
programNotifications(programId: Base58EncodedAddress, config: ProgramNotificationsApiCommonConfig & Readonly<{
programNotifications(programId: Address, config: ProgramNotificationsApiCommonConfig & Readonly<{
encoding: 'base64';
}>): ProgramNotificationsApiNotificationBase<AccountInfoWithBase64EncodedData>;
programNotifications(programId: Base58EncodedAddress, config: ProgramNotificationsApiCommonConfig & Readonly<{
programNotifications(programId: Address, config: ProgramNotificationsApiCommonConfig & Readonly<{
encoding: 'base64+zstd';
}>): ProgramNotificationsApiNotificationBase<AccountInfoWithBase64EncodedZStdCompressedData>;
programNotifications(programId: Base58EncodedAddress, config: ProgramNotificationsApiCommonConfig & Readonly<{
programNotifications(programId: Address, config: ProgramNotificationsApiCommonConfig & Readonly<{
encoding: 'jsonParsed';
}>): ProgramNotificationsApiNotificationBase<AccountInfoWithJsonData>;
programNotifications(programId: Base58EncodedAddress, config: ProgramNotificationsApiCommonConfig & Readonly<{
programNotifications(programId: Address, config: ProgramNotificationsApiCommonConfig & Readonly<{
encoding: 'base58';
}>): ProgramNotificationsApiNotificationBase<AccountInfoWithBase58EncodedData>;
programNotifications(programId: Base58EncodedAddress, config?: ProgramNotificationsApiCommonConfig): ProgramNotificationsApiNotificationBase<AccountInfoWithBase58Bytes>;
programNotifications(programId: Address, config?: ProgramNotificationsApiCommonConfig): ProgramNotificationsApiNotificationBase<AccountInfoWithBase58Bytes>;
}
export {};
//# sourceMappingURL=program-notifications.d.ts.map

@@ -0,3 +1,3 @@

import { Signature } from '@solana/keys';
import { Commitment } from '@solana/rpc-types';
import { TransactionSignature } from '@solana/transactions';
import { RpcResponse } from '../rpc-methods/common';

@@ -18,6 +18,6 @@ import { TransactionError } from '../transaction-error';

*/
signatureNotifications(signature: TransactionSignature, config: SignatureNotificationsApiConfigBase & Readonly<{
signatureNotifications(signature: Signature, config: SignatureNotificationsApiConfigBase & Readonly<{
enableReceivedNotification: true;
}>): SignatureNotificationsApiNotificationReceived | SignatureNotificationsApiNotificationProcessed;
signatureNotifications(signature: TransactionSignature, config?: SignatureNotificationsApiConfigBase & Readonly<{
signatureNotifications(signature: Signature, config?: SignatureNotificationsApiConfigBase & Readonly<{
enableReceivedNotification?: false;

@@ -24,0 +24,0 @@ }>): SignatureNotificationsApiNotificationProcessed;

@@ -1,12 +0,12 @@

import { Base58EncodedAddress } from '@solana/addresses';
import { Address } from '@solana/addresses';
import { Signature } from '@solana/keys';
import { UnixTimestamp } from '@solana/rpc-types';
import { Blockhash } from '@solana/transactions';
import { TransactionSignature } from '@solana/transactions';
import { Slot } from '../rpc-methods/common';
type VoteNotificationsApiNotification = Readonly<{
hash: Blockhash;
signature: TransactionSignature;
signature: Signature;
slots: readonly Slot[];
timestamp: UnixTimestamp | null;
votePubkey: Base58EncodedAddress;
votePubkey: Address;
}>;

@@ -13,0 +13,0 @@ export interface VoteNotificationsApi {

{
"name": "@solana/rpc-core",
"version": "2.0.0-experimental.68e85dc",
"version": "2.0.0-experimental.699bde0",
"description": "A library for making calls to the Solana JSON RPC API",

@@ -48,5 +48,2 @@ "exports": {

],
"dependencies": {
"@metaplex-foundation/umi-serializers": "^0.8.9"
},
"devDependencies": {

@@ -68,9 +65,12 @@ "@solana/eslint-config-solana": "^1.0.2",

"prettier": "^2.8",
"tsup": "7.2.0",
"tsup": "^8.0.1",
"typescript": "^5.2.2",
"version-from-git": "^1.1.1",
"@solana/rpc-transport": "2.0.0-experimental.68e85dc",
"@solana/addresses": "2.0.0-experimental.68e85dc",
"@solana/rpc-types": "2.0.0-experimental.68e85dc",
"@solana/transactions": "2.0.0-experimental.68e85dc",
"@solana/addresses": "2.0.0-experimental.699bde0",
"@solana/codecs-core": "2.0.0-experimental.699bde0",
"@solana/codecs-strings": "2.0.0-experimental.699bde0",
"@solana/rpc-transport": "2.0.0-experimental.699bde0",
"@solana/keys": "2.0.0-experimental.699bde0",
"@solana/rpc-types": "2.0.0-experimental.699bde0",
"@solana/transactions": "2.0.0-experimental.699bde0",
"build-scripts": "0.0.0",

@@ -77,0 +77,0 @@ "test-config": "0.0.0",

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