Browse Source

Add API Description

gRPC
garritfra 5 years ago
parent
commit
f7978191ef
  1. 10
      README.md

10
README.md

@ -27,3 +27,13 @@ Voila, your personal Blockchain! Your JSON Response might look something like th
}
]
```
## Interacting with your blockchain
The REST API currently exposes these Endpoints:
| Method | Route | Description |
| :----- | :---------- | :----------------------------------------- |
| GET | / | Get full blockchain |
| POST | / | Add pending transaction |
| GET | /mine_block | Mine a block with all pending transactions |

Loading…
Cancel
Save