Skip to content

Commit 066b414

Browse files
refactor: remove redundant tables in README
1 parent 25a0cee commit 066b414

1 file changed

Lines changed: 7 additions & 31 deletions

File tree

README.md

Lines changed: 7 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,25 @@ More contracts to come.
1919
## Contents
2020

2121
- [Solana SDK library for Go](#solana-sdk-library-for-go)
22-
- [Contents' Index](#contents)
22+
- [Contents](#contents)
2323
- [Features](#features)
2424
- [Current development status](#current-development-status)
25+
- [Note](#note)
2526
- [Requirements](#requirements)
2627
- [Installation](#installation)
2728
- [Pretty-Print transactions/instructions](#pretty-print-transactionsinstructions)
2829
- [SendAndConfirmTransaction](#sendandconfirmtransaction)
2930
- [Address Lookup Tables](#address-lookup-tables)
30-
- [Decode an instruction data](#parsedecode-an-instruction-from-a-transaction)
31+
- [Parse/decode an instruction from a transaction](#parsedecode-an-instruction-from-a-transaction)
3132
- [Borsh encoding/decoding](#borsh-encodingdecoding)
3233
- [ZSTD account data encoding](#zstd-account-data-encoding)
33-
- [Custom Headers for authenticating with RPC providers](#custom-headers-for-authenticating-with-rpc-providers)
3434
- [Working with rate-limited RPC providers](#working-with-rate-limited-rpc-providers)
35+
- [Custom Headers for authenticating with RPC providers](#custom-headers-for-authenticating-with-rpc-providers)
3536
- [Timeouts and Custom HTTP Clients](#timeouts-and-custom-http-clients)
3637
- [Examples](#examples)
37-
- [Create Account/Wallet](#create-account-wallet)
38-
- [Load/parse keys](#loadparse-private-and-public-keys)
39-
- [Transfer SOL from a wallet to another](#transfer-sol-from-one-wallet-to-another-wallet)
38+
- [Create account (wallet)](#create-account-wallet)
39+
- [Load/parse private and public keys](#loadparse-private-and-public-keys)
40+
- [Transfer Sol from one wallet to another wallet](#transfer-sol-from-one-wallet-to-another-wallet)
4041
- [RPC Methods](#rpc-methods)
4142
- [WebSocket Subscriptions](#websocket-subscriptions)
4243
- [Contributing](#contributing)
@@ -818,38 +819,13 @@ All RPC methods from the [Solana JSON RPC API](https://solana.com/docs/rpc) are
818819
Each method has a testable example in [`rpc/example_test.go`](rpc/example_test.go) that is rendered on
819820
[pkg.go.dev](https://pkg.go.dev/github.com/gagliardetto/solana-go@v1.16.0/rpc#pkg-examples).
820821

821-
| Method | Method | Method |
822-
|---|---|---|
823-
| `GetAccountInfo` | `GetInflationGovernor` | `GetSlotLeaders` |
824-
| `GetBalance` | `GetInflationRate` | `GetStakeMinimumDelegation` |
825-
| `GetBlock` | `GetInflationReward` | `GetSupply` |
826-
| `GetBlockCommitment` | `GetLargestAccounts` | `GetTokenAccountBalance` |
827-
| `GetBlockHeight` | `GetLatestBlockhash` | `GetTokenAccountsByDelegate` |
828-
| `GetBlockProduction` | `GetLeaderSchedule` | `GetTokenAccountsByOwner` |
829-
| `GetBlockTime` | `GetMaxRetransmitSlot` | `GetTokenLargestAccounts` |
830-
| `GetBlocks` | `GetMaxShredInsertSlot` | `GetTokenSupply` |
831-
| `GetBlocksWithLimit` | `GetMinimumBalanceForRentExemption` | `GetTransaction` |
832-
| `GetClusterNodes` | `GetMultipleAccounts` | `GetTransactionCount` |
833-
| `GetEpochInfo` | `GetProgramAccounts` | `GetVersion` |
834-
| `GetEpochSchedule` | `GetRecentPerformanceSamples` | `GetVoteAccounts` |
835-
| `GetFeeForMessage` | `GetRecentPrioritizationFees` | `IsBlockhashValid` |
836-
| `GetFirstAvailableBlock` | `GetSignatureStatuses` | `MinimumLedgerSlot` |
837-
| `GetGenesisHash` | `GetSignaturesForAddress` | `RequestAirdrop` |
838-
| `GetHealth` | `GetSlot` | `SendTransaction` |
839-
| `GetHighestSnapshotSlot` | `GetSlotLeader` | `SimulateTransaction` |
840-
| `GetIdentity` | | |
841822

842823
## WebSocket Subscriptions
843824

844825
All WebSocket subscriptions from the [Solana WebSocket API](https://solana.com/docs/rpc/websocket) are supported.
845826
Each subscription has a testable example in [`rpc/ws/example_test.go`](rpc/ws/example_test.go) that is rendered on
846827
[pkg.go.dev](https://pkg.go.dev/github.com/gagliardetto/solana-go@v1.16.0/rpc/ws#pkg-examples).
847828

848-
| Subscription | Subscription | Subscription |
849-
|---|---|---|
850-
| `AccountSubscribe` | `ProgramSubscribe` | `SlotSubscribe` |
851-
| `BlockSubscribe` | `RootSubscribe` | `SlotsUpdatesSubscribe` |
852-
| `LogsSubscribe` | `SignatureSubscribe` | `VoteSubscribe` |
853829

854830
## Contributing
855831

0 commit comments

Comments
 (0)