Skip to content

Commit eb52f4b

Browse files
Update README.md
1 parent 4e89cc9 commit eb52f4b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,31 +29,31 @@ To suspend/stop the miner from mining:
2929
`Aecore.Miner.Worker.suspend() `
3030

3131
#### **API calls**
32-
To add block to the blockchain:
32+
To add a block to the blockchain:
3333

3434
`Aecore.Chain.Worker.add_block(%Block{}) :: :ok`
3535

36-
To get the all blocks in the current chain:
36+
To get all blocks in the current chain:
3737

3838
`Aecore.Chain.Worker.all_blocks() :: list()`
3939

40-
To get latest block added to the chain:
40+
To get the latest block added to the chain:
4141

4242
`Aecore.Chain.Worker.latest_block() :: %Block{}`
4343

4444
To get the latest chainstate:
4545

4646
`Aecore.Chain.Worker.chain_state() :: map()`
4747

48-
To add transaction to the Transaction Pool:
48+
To add a transaction to the Transaction Pool:
4949

5050
`Aecore.Txs.Pool.Worker.add_transaction(%SignedTx{}) :: :ok | :error`
5151

52-
To remove transaction from the Transaction Pool:
52+
To remove a transaction from the Transaction Pool:
5353

5454
`Aecore.Txs.Pool.Worker.remove_transaction(%SignedTx{}) :: :ok | :error`
5555

56-
To inspect transactions in the Transaction Pool:
56+
To inspect a transactions in the Transaction Pool:
5757

5858
`Aecore.Txs.Pool.Worker.get_pool() :: map() `
5959

@@ -74,4 +74,4 @@ the log can be found in the source folder under:`apps/aecore/logs`
7474

7575
## HTTP-API
7676

77-
The node will run a http api at `localhost:4000`
77+
The node will run an http API at `localhost:4000`

0 commit comments

Comments
 (0)