Commit Graph

468 Commits

Author SHA1 Message Date
Slavomir 1979dbf4bf Add tests and improve API signatures 2021-07-09 17:36:53 +02:00
Slavomir 506f465695 Add tests for response parsing 2021-07-07 17:52:58 +02:00
Slavomir 5d59487bbd Add tests for response parsing 2021-07-07 17:42:23 +02:00
Slavomir 2e95c01d4c RPC: each method has its own file 2021-07-07 14:29:22 +02:00
Slavomir 85781927fb Add debug: NewWithCustomRPCClient 2021-07-06 22:31:39 +02:00
Slavomir b6c09dc745 Rename `github.com/dfuse-io/solana-go` to `github.com/gagliardetto/solana-go` 2021-07-06 18:18:26 +02:00
Slavomir c862096cfa Rename rpc/ws/method.go -> rpc/ws/methods.go 2021-07-02 19:20:51 +02:00
Slavomir d3c2c7ba9b Refactor rpc/ws 2021-07-02 17:43:08 +02:00
Slavomir 002b3ea730 Improve naming, comments 2021-07-02 15:42:26 +02:00
Slavomir 52d6398ba8 Refactor RPC/SimulateTransaction; add SimulateTransactionWithOpts 2021-07-02 15:30:57 +02:00
Slavomir f5144eb02f Refactor RPC/SendTransaction; add SendTransactionWithOpts 2021-07-02 15:22:43 +02:00
Slavomir f74e455236 Refactor RPC/RequestAirdrop 2021-07-02 15:07:03 +02:00
Slavomir 946fa25183 Add RPC/minimumLedgerSlot 2021-07-02 15:02:24 +02:00
Slavomir 4852d12cf3 Add RPC/getVoteAccounts 2021-07-02 14:50:53 +02:00
Slavomir 6a5a71777d Add RPC/getVersion 2021-07-02 14:27:49 +02:00
Slavomir 223da4de58 Add RPC/getTransactionCount 2021-07-02 14:24:14 +02:00
Slavomir dd2d5478e9 Add RPC/getTransaction 2021-07-02 14:20:40 +02:00
Slavomir e24be63947 Add RPC/getTokenSupply 2021-07-02 13:50:14 +02:00
Slavomir 6b85f242c7 Add RPC/getTokenLargestAccounts 2021-07-02 13:45:03 +02:00
Slavomir ff5aa5449d Add RPC/getTokenAccountsByOwner 2021-07-02 13:30:03 +02:00
Slavomir 770cf4afe1 Add RPC/getTokenAccountsByDelegate 2021-07-01 22:58:17 +02:00
Slavomir 79462352f1 Add RPC/getTokenAccountBalance 2021-07-01 22:43:18 +02:00
Slavomir 1af934f700 Add RPC/getSupply 2021-07-01 22:31:18 +02:00
Slavomir e4dbcdb3c5 Add RPC/getStakeActivation 2021-07-01 22:24:58 +02:00
Slavomir ebaff46e1e Add RPC/getSlotLeaders 2021-07-01 22:16:47 +02:00
Slavomir 8435d331f3 Add RPC/getSlotLeader 2021-07-01 22:13:21 +02:00
Slavomir 7806a230cf Fix RPC/GetSlot 2021-07-01 22:10:11 +02:00
Slavomir a431f0a26d Add RPC/getSignatureStatuses 2021-07-01 22:01:13 +02:00
Slavomir 7a1bca98fa Transform DeprecatedTransactionMetaStatus into a map 2021-07-01 22:00:39 +02:00
Slavomir c1ec3144b7 Add MustSignatureFromBase58 2021-07-01 22:00:09 +02:00
Slavomir 998905b8f8 Add RPC/getSignaturesForAddress 2021-07-01 21:39:39 +02:00
Slavomir f4e24044c0 Add solana.Signature{}.IsZero() 2021-07-01 21:38:20 +02:00
Slavomir fe590b548c Add RPC/getSnapshotSlot 2021-07-01 18:42:15 +02:00
Slavomir 3605c7b3ef Add RPC/getRecentPerformanceSamples 2021-07-01 18:38:02 +02:00
Slavomir 76750a9d90 Clean up RPC/GetRecentBlockhash 2021-07-01 18:30:39 +02:00
Slavomir 6172f0e834 RPC: refactor GetProgramAccounts 2021-07-01 18:27:39 +02:00
Slavomir 529897bd00 RPC: distinguish between GetMultipleAccounts and GetMultipleAccountsWithOpts 2021-07-01 18:02:09 +02:00
Slavomir 5c43d3e89e Add RPC/getMultipleAccounts 2021-07-01 17:58:52 +02:00
Slavomir f2aa90e708 Add missing checks 2021-07-01 17:58:38 +02:00
Slavomir 2b6bbe35d4 Refactor RPC/GetMinimumBalanceForRentExemption 2021-07-01 17:49:20 +02:00
Slavomir 4c9703315b Add RPC/getMaxShredInsertSlot 2021-07-01 17:45:09 +02:00
Slavomir b995cb08a5 Add RPC/getMaxRetransmitSlot 2021-07-01 17:21:12 +02:00
Slavomir f93bc68379 Add RPC/getLeaderSchedule 2021-07-01 17:11:43 +02:00
Slavomir e88e97275c Add RPC/getLargestAccounts 2021-07-01 16:53:03 +02:00
Slavomir 77a8c1a604 Simplify code 2021-07-01 16:44:07 +02:00
Slavomir 20dc75f770 Add RPC/getInflationReward 2021-07-01 16:22:57 +02:00
Slavomir c01b779faf Add RPC/getInflationRate 2021-07-01 16:12:19 +02:00
Slavomir 71f4de74a7 Add RPC/getInflationGovernor 2021-07-01 16:08:32 +02:00
Slavomir 689c15b6b5 Add RPC/getIdentity 2021-07-01 16:03:18 +02:00
Slavomir 18b50cfa50 Add RPC/getHealth 2021-07-01 16:00:31 +02:00