Skip to content

Commit

Permalink
Merge branch 'master' of github.com:tokenanalyst/json-rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
jpzk committed Oct 29, 2019
2 parents c193198 + eaf04e6 commit 78607be
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# bitcoin-rpc

## Supported methods

| Bitcoind RPC method | description | bitcoin-rpc method |
|---|---|---|
| getblockhash | Gets the block hash at a specific height | getBlockHash(height: Long) |
| getbestblockhash | Gets the block tip hash | getBestBlockHash() |
| getblock | Gets the block with transaction ids | getBlock(hash: String) |
| getblock | Gets the block with transaction ids | getBlock(height: Long) |

## Example

```
import cats.effect.{ExitCode, IO, IOApp}
import scala.concurrent.ExecutionContext.global
Expand Down

0 comments on commit 78607be

Please sign in to comment.