Skip to content

Commit 1939f32

Browse files
committed
Add credit cost.
Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>
1 parent 46a1653 commit 1939f32

File tree

2 files changed

+71
-2
lines changed

2 files changed

+71
-2
lines changed

services/get-started/pricing/credit-cost.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,13 @@ are charged at approximately one second intervals.
8080

8181
<CreditCostTable methods="polygon" />
8282

83-
## Starknet
83+
## Solana
8484

85-
<CreditCostTable methods="starknet" />
85+
All Solana methods are charged at 180 credits per request.
8686

87+
## Starknet
8788

89+
<CreditCostTable methods="starknet" />
8890

8991
## ZKsync Era
9092

src/lib/data.js

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,73 @@ export const API_COSTS = {
227227
'bor_getRootHash': 80,
228228
'bor_getSignersAtHash': 80,
229229
},
230+
solana: {
231+
// Digital Asset Standard (DAS) API
232+
'getAsset': 180,
233+
'getAssetProof': 180,
234+
'getAssetProofBatch': 180,
235+
'getAssets': 180,
236+
'getAssetsByAuthority': 180,
237+
'getAssetsByCreator': 180,
238+
'getAssetsByGroup': 180,
239+
'getAssetsByOwner': 180,
240+
'getAssetSignatures': 180,
241+
'getNftEditions': 180,
242+
'getTokenAccounts': 180,
243+
'searchAssets': 180,
244+
// Core Solana methods
245+
'getAccountInfo': 180,
246+
'getBalance': 180,
247+
'getBlock': 180,
248+
'getBlockCommitment': 180,
249+
'getBlockHeight': 180,
250+
'getBlockProduction': 180,
251+
'getBlocks': 180,
252+
'getBlocksWithLimit': 180,
253+
'getClusterNodes': 180,
254+
'getEpochInfo': 180,
255+
'getEpochSchedule': 180,
256+
'getFeeForMessage': 180,
257+
'getFirstAvailableBlock': 180,
258+
'getGenesisHash': 180,
259+
'getHealth': 180,
260+
'getHighestSnapshotSlot': 180,
261+
'getIdentity': 180,
262+
'getInflationGovernor': 180,
263+
'getInflationRate': 180,
264+
'getInflationReward': 180,
265+
'getLargestAccounts': 180,
266+
'getLatestBlockhash': 180,
267+
'getLeaderSchedule': 180,
268+
'getMaxRetransmitSlot': 180,
269+
'getMaxShredInsertSlot': 180,
270+
'getMinimumBalanceForRentExemption': 180,
271+
'getMultipleAccounts': 180,
272+
'getProgramAccounts': 180,
273+
'getRecentPerformanceSamples': 180,
274+
'getRecentPrioritizationFees': 180,
275+
'getSignaturesForAddress': 180,
276+
'getSignatureStatuses': 180,
277+
'getSlot': 180,
278+
'getSlotLeader': 180,
279+
'getSlotLeaders': 180,
280+
'getStakeMinimumDelegation': 180,
281+
'getSupply': 180,
282+
'getTokenAccountBalance': 180,
283+
'getTokenAccountsByDelegate': 180,
284+
'getTokenAccountsByOwner': 180,
285+
'getTokenLargestAccounts': 180,
286+
'getTokenSupply': 180,
287+
'getTransaction': 180,
288+
'getTransactionCount': 180,
289+
'getVersion': 180,
290+
'getVoteAccounts': 180,
291+
'isBlockhashValid': 180,
292+
'minimumLedgerSlot': 180,
293+
'requestAirdrop': 180,
294+
'sendTransaction': 180,
295+
'simulateTransaction': 180,
296+
},
230297
starknet: {
231298
'starknet_addDeclareTransaction': 700,
232299
'starknet_addDeployAccountTransaction': 700,

0 commit comments

Comments
 (0)