Fixup RPC docs (backport #21858) (#21864)

* Remove old notes referring to EOL versions

(cherry picked from commit eebaf89874)

* Add notes about new v1.9 rpc apis

(cherry picked from commit fd212fd2a4)

Co-authored-by: Tyera Eulberg <tyera@solana.com>
This commit is contained in:
mergify[bot]
2021-12-14 02:46:44 +00:00
committed by GitHub
parent 0376045c7d
commit 6c329e2fd3

View File

@ -363,9 +363,6 @@ Result:
### getBlock
**NEW: This method is only available in solana-core v1.7 or newer. Please use
[getConfirmedBlock](jsonrpc-api.md#getconfirmedblock) for solana-core v1.6**
Returns identity and transaction information about a confirmed block in the ledger
#### Parameters:
@ -768,9 +765,6 @@ Result:
### getBlocks
**NEW: This method is only available in solana-core v1.7 or newer. Please use
[getConfirmedBlocks](jsonrpc-api.md#getconfirmedblocks) for solana-core v1.6**
Returns a list of confirmed blocks between two slots
#### Parameters:
@ -802,9 +796,6 @@ Result:
### getBlocksWithLimit
**NEW: This method is only available in solana-core v1.7 or newer. Please use
[getConfirmedBlocksWithLimit](jsonrpc-api.md#getconfirmedblockswithlimit) for solana-core v1.6**
Returns a list of confirmed blocks starting at the given slot
#### Parameters:
@ -999,7 +990,7 @@ Result:
### getFeeForMessage
**NEW: This method is only available in solana-core v1.9 or newer. Please use
[getFees](jsonrpc-api.md#getfees) for solana-core v1.7/v1.8**
[getFees](jsonrpc-api.md#getfees) for solana-core v1.8**
Get the fee the network will charge for a particular Message
@ -1156,7 +1147,7 @@ Unhealthy Result (if additional information is available)
### getHighestSnapshotSlot
**NEW: This method is only available in solana-core v1.9 or newer. Please use
[getSnapshotSlot](jsonrpc-api.md#getsnapshotslot) for solana-core v1.7/v1.8**
[getSnapshotSlot](jsonrpc-api.md#getsnapshotslot) for solana-core v1.8**
Returns the highest slot information that the node has snapshots for.
@ -1464,6 +1455,9 @@ Result:
### getLatestBlockhash
**NEW: This method is only available in solana-core v1.9 or newer. Please use
[getRecentBlockhash](jsonrpc-api.md#getrecentblockhash) for solana-core v1.8**
Returns the latest blockhash
#### Parameters:
@ -1976,9 +1970,6 @@ Result:
### getSignaturesForAddress
**NEW: This method is only available in solana-core v1.7 or newer. Please use
[getConfirmedSignaturesForAddress2](jsonrpc-api.md#getconfirmedsignaturesforaddress2) for solana-core v1.6**
Returns confirmed signatures for transactions involving an
address backwards in time from the provided signature or most recent confirmed block
@ -2727,9 +2718,6 @@ Result:
### getTransaction
**NEW: This method is only available in solana-core v1.7 or newer. Please use
[getConfirmedTransaction](jsonrpc-api.md#getconfirmedtransaction) for solana-core v1.6**
Returns transaction details for a confirmed transaction
#### Parameters:
@ -3074,6 +3062,9 @@ Result:
### isBlockhashValid
**NEW: This method is only available in solana-core v1.9 or newer. Please use
[getFeeCalculatorForBlockhash](jsonrpc-api.md#getfeecalculatorforblockhash) for solana-core v1.8**
Returns whether a blockhash is still valid or not
#### Parameters: