I am trying to understand how one node can send a transaction to another node (miner or full) directly rather than waiting P2P network to distribute it?

Say I have two non-miner nodes A and B and one miner to C on a private network.

 / \
A   C 

Is it possible to send a transaction to the miner directly?


Yes, it's possible. Generally speaking such private services will offer an API or RPC endpoint that allows you to get transactions included in blocks, without broadcasting them to the public network.

Here's an example from taich.network:

curl -X POST   https://api.taichi.network:10001/rpc/public   -H 'content-type: application/json'   -d '{

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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