@solana/rpc-core
Advanced tools
Comparing version 2.0.0-experimental.bc38d16 to 2.0.0-experimental.bcca4c4
@@ -60,2 +60,6 @@ import bs58 from 'bs58'; | ||
getRecentPerformanceSamples: [[KEYPATH_WILDCARD, "samplePeriodSecs"]], | ||
getTokenLargestAccounts: [ | ||
["value", KEYPATH_WILDCARD, "decimals"], | ||
["value", KEYPATH_WILDCARD, "uiAmount"] | ||
], | ||
getTransaction: [ | ||
@@ -62,0 +66,0 @@ ["meta", "preTokenBalances", KEYPATH_WILDCARD, "accountIndex"], |
@@ -60,2 +60,6 @@ import bs58 from 'bs58'; | ||
getRecentPerformanceSamples: [[KEYPATH_WILDCARD, "samplePeriodSecs"]], | ||
getTokenLargestAccounts: [ | ||
["value", KEYPATH_WILDCARD, "decimals"], | ||
["value", KEYPATH_WILDCARD, "uiAmount"] | ||
], | ||
getTransaction: [ | ||
@@ -62,0 +66,0 @@ ["meta", "preTokenBalances", KEYPATH_WILDCARD, "accountIndex"], |
@@ -60,2 +60,6 @@ import bs58 from 'bs58'; | ||
getRecentPerformanceSamples: [[KEYPATH_WILDCARD, "samplePeriodSecs"]], | ||
getTokenLargestAccounts: [ | ||
["value", KEYPATH_WILDCARD, "decimals"], | ||
["value", KEYPATH_WILDCARD, "uiAmount"] | ||
], | ||
getTransaction: [ | ||
@@ -62,0 +66,0 @@ ["meta", "preTokenBalances", KEYPATH_WILDCARD, "accountIndex"], |
import { Base58EncodedAddress } from '@solana/keys'; | ||
import { Blockhash } from '../blockhash'; | ||
import { StringifiedBigInt } from '../stringified-bigint'; | ||
import { TransactionError } from '../transaction-error'; | ||
@@ -17,3 +18,3 @@ import { UnixTimestamp } from '../unix-timestamp'; | ||
/** Raw amount of tokens as a string, ignoring decimals. */ | ||
amount: string; | ||
amount: StringifiedBigInt; | ||
/** Number of decimals configured for token's mint. */ | ||
@@ -20,0 +21,0 @@ decimals: number; |
@@ -9,2 +9,3 @@ import { IRpcApi } from '@solana/rpc-transport/dist/types/json-rpc-types'; | ||
import { GetEpochInfoApi } from './getEpochInfo'; | ||
import { GetEpochScheduleApi } from './getEpochSchedule'; | ||
import { GetFirstAvailableBlockApi } from './getFirstAvailableBlock'; | ||
@@ -20,2 +21,3 @@ import { GetInflationRewardApi } from './getInflationReward'; | ||
import { GetSupplyApi } from './getSupply'; | ||
import { GetTokenLargestAccountsApi } from './getTokenLargestAccounts'; | ||
import { GetTransactionApi } from './getTransaction'; | ||
@@ -28,5 +30,5 @@ import { GetTransactionCountApi } from './getTransactionCount'; | ||
}>; | ||
export type SolanaRpcMethods = GetAccountInfoApi & GetBalanceApi & GetBlockHeightApi & GetBlockProductionApi & GetBlocksApi & GetBlockTimeApi & GetEpochInfoApi & GetFirstAvailableBlockApi & GetInflationRewardApi & GetLatestBlockhashApi & GetMaxRetransmitSlotApi & GetMaxShredInsertSlotApi & GetRecentPerformanceSamplesApi & GetSignaturesForAddressApi & GetSlotApi & GetStakeMinimumDelegationApi & GetSupplyApi & GetTransactionApi & GetTransactionCountApi & GetVoteAccountsApi & MinimumLedgerSlotApi; | ||
export type SolanaRpcMethods = GetAccountInfoApi & GetBalanceApi & GetBlockHeightApi & GetBlockProductionApi & GetBlocksApi & GetBlockTimeApi & GetEpochInfoApi & GetEpochScheduleApi & GetFirstAvailableBlockApi & GetInflationRewardApi & GetLatestBlockhashApi & GetMaxRetransmitSlotApi & GetMaxShredInsertSlotApi & GetRecentPerformanceSamplesApi & GetSignaturesForAddressApi & GetSlotApi & GetStakeMinimumDelegationApi & GetSupplyApi & GetTokenLargestAccountsApi & GetTransactionApi & GetTransactionCountApi & GetVoteAccountsApi & MinimumLedgerSlotApi; | ||
export declare function createSolanaRpcApi(config?: Config): IRpcApi<SolanaRpcMethods>; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@solana/rpc-core", | ||
"version": "2.0.0-experimental.bc38d16", | ||
"version": "2.0.0-experimental.bcca4c4", | ||
"description": "A library for making calls to the Solana JSON RPC API", | ||
@@ -50,3 +50,3 @@ "exports": { | ||
"bs58": "^5.0.0", | ||
"@solana/keys": "2.0.0-experimental.bc38d16" | ||
"@solana/keys": "2.0.0-experimental.bcca4c4" | ||
}, | ||
@@ -76,3 +76,3 @@ "devDependencies": { | ||
"version-from-git": "^1.1.1", | ||
"@solana/rpc-transport": "2.0.0-experimental.bc38d16", | ||
"@solana/rpc-transport": "2.0.0-experimental.bcca4c4", | ||
"build-scripts": "0.0.0", | ||
@@ -79,0 +79,0 @@ "test-config": "0.0.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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1658
157062
49
+ Added@solana/keys@2.0.0-experimental.bcca4c4(transitive)
- Removed@solana/keys@2.0.0-experimental.bc38d16(transitive)