Docs fixups (bp #15801) (#15802)

* docs: add docs links for crates published to crates.io

(cherry picked from commit 24d18b3cf2)

# Conflicts:
#	core/Cargo.toml
#	measure/Cargo.toml
#	programs/bpf/rust/finalize/Cargo.toml

* docs: add rust client api entry

(cherry picked from commit 3e6c7c4a3e)

* docs: rename 'deployed programs' section to 'on-chain programs'

(cherry picked from commit 0e452c8d91)

* docs: 'builtins' -> 'runtime facilities'

(cherry picked from commit 9c8be34906)

* docs: stabilize spl token jsonrpc methods

(cherry picked from commit 45190f6281)

* docs: deprecate lastvalidslot field of jsonrpc getfees

(cherry picked from commit c4ee1ab710)

Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
mergify[bot]
2021-03-11 21:49:14 +00:00
committed by GitHub
parent a79ba512a8
commit 6e214bbc04
114 changed files with 149 additions and 51 deletions

View File

@@ -54,6 +54,11 @@ gives a convenient interface for the RPC methods.
- [getSlotLeader](jsonrpc-api.md#getslotleader)
- [getStakeActivation](jsonrpc-api.md#getstakeactivation)
- [getSupply](jsonrpc-api.md#getsupply)
- [getTokenAccountBalance](jsonrpc-api.md#gettokenaccountbalance)
- [getTokenAccountsByDelegate](jsonrpc-api.md#gettokenaccountsbydelegate)
- [getTokenAccountsByOwner](jsonrpc-api.md#gettokenaccountsbyowner)
- [getTokenLargestAccounts](jsonrpc-api.md#gettokenlargestaccounts)
- [getTokenSupply](jsonrpc-api.md#gettokensupply)
- [getTransactionCount](jsonrpc-api.md#gettransactioncount)
- [getVersion](jsonrpc-api.md#getversion)
- [getVoteAccounts](jsonrpc-api.md#getvoteaccounts)
@@ -75,16 +80,6 @@ gives a convenient interface for the RPC methods.
- [slotSubscribe](jsonrpc-api.md#slotsubscribe)
- [slotUnsubscribe](jsonrpc-api.md#slotunsubscribe)
## Unstable Methods
Unstable methods may see breaking changes in patch releases and may not be supported in perpetuity.
- [getTokenAccountBalance](jsonrpc-api.md#gettokenaccountbalance)
- [getTokenAccountsByDelegate](jsonrpc-api.md#gettokenaccountsbydelegate)
- [getTokenAccountsByOwner](jsonrpc-api.md#gettokenaccountsbyowner)
- [getTokenLargestAccounts](jsonrpc-api.md#gettokenlargestaccounts)
- [getTokenSupply](jsonrpc-api.md#gettokensupply)
## Request Formatting
To make a JSON-RPC request, send an HTTP POST request with a `Content-Type:
@@ -1218,7 +1213,7 @@ The result will be an RpcResponse JSON object with `value` set to a JSON object
- `blockhash: <string>` - a Hash as base-58 encoded string
- `feeCalculator: <object>` - FeeCalculator object, the fee schedule for this block hash
- `lastValidSlot: <u64>` - last slot in which a blockhash will be valid (NOTE: this can be inaccurate when there are [skipped slots](../../terminology.md#skipped-slot))
- `lastValidSlot: <u64>` - DEPRECATED - this value is inaccurate and should not be relied upon
#### Example:
@@ -2370,7 +2365,7 @@ Result:
### getTokenAccountBalance
Returns the token balance of an SPL Token account. **UNSTABLE**
Returns the token balance of an SPL Token account.
#### Parameters:
@@ -2416,7 +2411,7 @@ Result:
### getTokenAccountsByDelegate
Returns all SPL Token accounts by approved Delegate. **UNSTABLE**
Returns all SPL Token accounts by approved Delegate.
#### Parameters:
@@ -2506,7 +2501,7 @@ Result:
### getTokenAccountsByOwner
Returns all SPL Token accounts by token owner. **UNSTABLE**
Returns all SPL Token accounts by token owner.
#### Parameters:
@@ -2596,7 +2591,7 @@ Result:
### getTokenLargestAccounts
Returns the 20 largest accounts of a particular SPL Token type. **UNSTABLE**
Returns the 20 largest accounts of a particular SPL Token type.
#### Parameters:
@@ -2652,7 +2647,7 @@ Result:
### getTokenSupply
Returns the total supply of an SPL Token type. **UNSTABLE**
Returns the total supply of an SPL Token type.
#### Parameters: