diff --git a/README.md b/README.md index 0461664..12b8940 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,12 @@ A Rust crate provides an interface for interacting with a blockchain. - `new(difficulty, reward, fee)`: Initialize a new blockchain with the specified parameters. - `get_transactions()`: Get a list of current transactions in the blockchain. -- `get_transaction(hash, page, size)`: Get a transaction by its hash. +- `get_transaction(hash, page, size)`: Get a transaction by its hash and pagination details. - `add_transaction(from, to, amount)`: Add a new transaction to the blockchain. - `validate_transaction(from, amount)`: Validate a new transaction to the blockchain. - `create_wallet(email)`: Create a new wallet with a unique email and an initial balance. - `get_wallet_balance(address)`: Get a wallet's balance based on its address. -- `get_wallet_transactions(address, page, size)`: Get a wallet's transaction history based on its address. +- `get_wallet_transactions(address, page, size)`: Get a wallet's transaction history based on its address and pagination details. - `get_last_hash()`: Get the hash of the last block in the blockchain. - `update_difficulty(difficulty)`: Update the mining difficulty of the blockchain. - `update_reward(reward)`: Update the block reward.