I am new to this. I wanted to know, how i can add block, add transaction and search for transaction in blockchain? Thanks.

1 Answer 1


I am assuming that you are asking for Ethereum Blockchain.

I wanted to know, how i can add block

Adding a block in Ethereum requires mining. You can find more about mining here.

add transaction

Transaction can be added using eth.sendTransaction more details about it can be found at https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions

search for transaction in blockchain

Transaction details can be found from the transaction hash that we get when we send a transaction. Use eth.getTransaction(txHash), to get the details of the transaction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.