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

@solana/rpc-api

Package Overview
Dependencies
Maintainers
15
Versions
896
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/rpc-api - npm Package Compare versions

Comparing version 2.0.0-experimental.f16a625 to 2.0.0-experimental.f4436f4

10

dist/types/index.d.ts

@@ -56,6 +56,8 @@ import { RpcApi } from '@solana/rpc-spec';

import { SimulateTransactionApi } from './simulateTransaction.js';
export type SolanaRpcApi = GetAccountInfoApi & GetBalanceApi & GetBlockApi & GetBlockCommitmentApi & GetBlockHeightApi & GetBlockProductionApi & GetBlocksApi & GetBlocksWithLimitApi & GetBlockTimeApi & GetClusterNodesApi & GetEpochInfoApi & GetEpochScheduleApi & GetFeeForMessageApi & GetFirstAvailableBlockApi & GetGenesisHashApi & GetHealthApi & GetHighestSnapshotSlotApi & GetIdentityApi & GetInflationGovernorApi & GetInflationRateApi & GetInflationRewardApi & GetLargestAccountsApi & GetLatestBlockhashApi & GetLeaderScheduleApi & GetMaxRetransmitSlotApi & GetMaxShredInsertSlotApi & GetMinimumBalanceForRentExemptionApi & GetMultipleAccountsApi & GetProgramAccountsApi & GetRecentPerformanceSamplesApi & GetRecentPrioritizationFeesApi & GetSignaturesForAddressApi & GetSignatureStatusesApi & GetSlotApi & GetSlotLeaderApi & GetSlotLeadersApi & GetStakeActivationApi & GetStakeMinimumDelegationApi & GetSupplyApi & GetTokenAccountBalanceApi & GetTokenAccountsByDelegateApi & GetTokenAccountsByOwnerApi & GetTokenLargestAccountsApi & GetTokenSupplyApi & GetTransactionApi & GetTransactionCountApi & GetVersionApi & GetVoteAccountsApi & IsBlockhashValidApi & MinimumLedgerSlotApi & RequestAirdropApi & SendTransactionApi & SimulateTransactionApi;
export type SolanaRpcApiDevnet = SolanaRpcApi;
export type SolanaRpcApiTestnet = SolanaRpcApi;
export type SolanaRpcApiMainnet = Omit<SolanaRpcApi, 'requestAirdrop'>;
type SolanaRpcApiForAllClusters = GetAccountInfoApi & GetBalanceApi & GetBlockApi & GetBlockCommitmentApi & GetBlockHeightApi & GetBlockProductionApi & GetBlocksApi & GetBlocksWithLimitApi & GetBlockTimeApi & GetClusterNodesApi & GetEpochInfoApi & GetEpochScheduleApi & GetFeeForMessageApi & GetFirstAvailableBlockApi & GetGenesisHashApi & GetHealthApi & GetHighestSnapshotSlotApi & GetIdentityApi & GetInflationGovernorApi & GetInflationRateApi & GetInflationRewardApi & GetLargestAccountsApi & GetLatestBlockhashApi & GetLeaderScheduleApi & GetMaxRetransmitSlotApi & GetMaxShredInsertSlotApi & GetMinimumBalanceForRentExemptionApi & GetMultipleAccountsApi & GetProgramAccountsApi & GetRecentPerformanceSamplesApi & GetRecentPrioritizationFeesApi & GetSignaturesForAddressApi & GetSignatureStatusesApi & GetSlotApi & GetSlotLeaderApi & GetSlotLeadersApi & GetStakeActivationApi & GetStakeMinimumDelegationApi & GetSupplyApi & GetTokenAccountBalanceApi & GetTokenAccountsByDelegateApi & GetTokenAccountsByOwnerApi & GetTokenLargestAccountsApi & GetTokenSupplyApi & GetTransactionApi & GetTransactionCountApi & GetVersionApi & GetVoteAccountsApi & IsBlockhashValidApi & MinimumLedgerSlotApi & SendTransactionApi & SimulateTransactionApi;
type SolanaRpcApiForTestClusters = SolanaRpcApiForAllClusters & RequestAirdropApi;
export type SolanaRpcApi = SolanaRpcApiForTestClusters;
export type SolanaRpcApiDevnet = SolanaRpcApiForTestClusters;
export type SolanaRpcApiTestnet = SolanaRpcApiForTestClusters;
export type SolanaRpcApiMainnet = SolanaRpcApiForAllClusters;
export type { GetAccountInfoApi, GetBalanceApi, GetBlockApi, GetBlockCommitmentApi, GetBlockHeightApi, GetBlockProductionApi, GetBlocksApi, GetBlocksWithLimitApi, GetBlockTimeApi, GetClusterNodesApi, GetEpochInfoApi, GetEpochScheduleApi, GetFeeForMessageApi, GetFirstAvailableBlockApi, GetGenesisHashApi, GetHealthApi, GetHighestSnapshotSlotApi, GetIdentityApi, GetInflationGovernorApi, GetInflationRateApi, GetInflationRewardApi, GetLargestAccountsApi, GetLatestBlockhashApi, GetLeaderScheduleApi, GetMaxRetransmitSlotApi, GetMaxShredInsertSlotApi, GetMinimumBalanceForRentExemptionApi, GetMultipleAccountsApi, GetProgramAccountsApi, GetRecentPerformanceSamplesApi, GetRecentPrioritizationFeesApi, GetSignaturesForAddressApi, GetSignatureStatusesApi, GetSlotApi, GetSlotLeaderApi, GetSlotLeadersApi, GetStakeActivationApi, GetStakeMinimumDelegationApi, GetSupplyApi, GetTokenAccountBalanceApi, GetTokenAccountsByDelegateApi, GetTokenAccountsByOwnerApi, GetTokenLargestAccountsApi, GetTokenSupplyApi, GetTransactionApi, GetTransactionCountApi, GetVersionApi, GetVoteAccountsApi, IsBlockhashValidApi, MinimumLedgerSlotApi, RequestAirdropApi, SendTransactionApi, SimulateTransactionApi, };

@@ -62,0 +64,0 @@ type Config = ParamsTransformerConfig;

20

package.json
{
"name": "@solana/rpc-api",
"version": "2.0.0-experimental.f16a625",
"version": "2.0.0-experimental.f4436f4",
"description": "Defines all default Solana RPC methods as types",

@@ -49,11 +49,11 @@ "exports": {

"dependencies": {
"@solana/addresses": "2.0.0-experimental.f16a625",
"@solana/codecs-core": "2.0.0-experimental.f16a625",
"@solana/codecs-strings": "2.0.0-experimental.f16a625",
"@solana/keys": "2.0.0-experimental.f16a625",
"@solana/rpc-parsed-types": "2.0.0-experimental.f16a625",
"@solana/rpc-spec": "2.0.0-experimental.f16a625",
"@solana/rpc-transformers": "2.0.0-experimental.f16a625",
"@solana/rpc-types": "2.0.0-experimental.f16a625",
"@solana/transactions": "2.0.0-experimental.f16a625"
"@solana/addresses": "2.0.0-experimental.f4436f4",
"@solana/codecs-core": "2.0.0-experimental.f4436f4",
"@solana/codecs-strings": "2.0.0-experimental.f4436f4",
"@solana/keys": "2.0.0-experimental.f4436f4",
"@solana/rpc-parsed-types": "2.0.0-experimental.f4436f4",
"@solana/rpc-spec": "2.0.0-experimental.f4436f4",
"@solana/rpc-transformers": "2.0.0-experimental.f4436f4",
"@solana/transactions": "2.0.0-experimental.f4436f4",
"@solana/rpc-types": "2.0.0-experimental.f4436f4"
},

@@ -60,0 +60,0 @@ "bundlewatch": {

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