send_private_transaction
Send transactions via private RPCs (Flashbots, MEV Blocker, SecureRPC) to prevent frontrunning and sandwich attacks.
Instructions
Send a transaction via Flashbots Protect RPC to avoid MEV extraction (frontrunning, sandwich attacks)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address | |
| data | No | Transaction data (hex) | |
| value | No | ETH value to send (in ether) | |
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
| gasLimit | No | Gas limit | |
| privateKey | Yes | Private key for signing | |
| maxFeePerGas | No | Max fee per gas (in gwei) | |
| protectionProvider | No | MEV protection provider | flashbots |
| maxPriorityFeePerGas | No | Max priority fee per gas (in gwei) |