docs: stabilize spl token jsonrpc methods

This commit is contained in:
Trent Nelson
2021-03-10 23:02:16 -07:00
committed by mergify[bot]
parent 9c8be34906
commit 45190f6281

View File

@ -54,6 +54,11 @@ gives a convenient interface for the RPC methods.
- [getSlotLeader](jsonrpc-api.md#getslotleader) - [getSlotLeader](jsonrpc-api.md#getslotleader)
- [getStakeActivation](jsonrpc-api.md#getstakeactivation) - [getStakeActivation](jsonrpc-api.md#getstakeactivation)
- [getSupply](jsonrpc-api.md#getsupply) - [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) - [getTransactionCount](jsonrpc-api.md#gettransactioncount)
- [getVersion](jsonrpc-api.md#getversion) - [getVersion](jsonrpc-api.md#getversion)
- [getVoteAccounts](jsonrpc-api.md#getvoteaccounts) - [getVoteAccounts](jsonrpc-api.md#getvoteaccounts)
@ -73,16 +78,6 @@ gives a convenient interface for the RPC methods.
- [slotSubscribe](jsonrpc-api.md#slotsubscribe) - [slotSubscribe](jsonrpc-api.md#slotsubscribe)
- [slotUnsubscribe](jsonrpc-api.md#slotunsubscribe) - [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 ## Request Formatting
To make a JSON-RPC request, send an HTTP POST request with a `Content-Type: To make a JSON-RPC request, send an HTTP POST request with a `Content-Type:
@ -2369,7 +2364,7 @@ Result:
### getTokenAccountBalance ### getTokenAccountBalance
Returns the token balance of an SPL Token account. **UNSTABLE** Returns the token balance of an SPL Token account.
#### Parameters: #### Parameters:
@ -2415,7 +2410,7 @@ Result:
### getTokenAccountsByDelegate ### getTokenAccountsByDelegate
Returns all SPL Token accounts by approved Delegate. **UNSTABLE** Returns all SPL Token accounts by approved Delegate.
#### Parameters: #### Parameters:
@ -2505,7 +2500,7 @@ Result:
### getTokenAccountsByOwner ### getTokenAccountsByOwner
Returns all SPL Token accounts by token owner. **UNSTABLE** Returns all SPL Token accounts by token owner.
#### Parameters: #### Parameters:
@ -2595,7 +2590,7 @@ Result:
### getTokenLargestAccounts ### 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: #### Parameters:
@ -2651,7 +2646,7 @@ Result:
### getTokenSupply ### getTokenSupply
Returns the total supply of an SPL Token type. **UNSTABLE** Returns the total supply of an SPL Token type.
#### Parameters: #### Parameters: