simulate_raw_transaction
Validate a signed raw Bitcoin transaction against live Bitcoin Core consensus and script rules without broadcasting it, so you can catch errors before P2P submission.
Instructions
Execute zero-broadcast dry-run consensus & script validation (testmempoolaccept) against live Bitcoin Core v31.1 UTXO set without broadcasting to P2P network.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rawTxHex": "<rawTxHex>"
},
"name": "simulate_raw_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rawTxHex | Yes | Hexadecimal signed raw Bitcoin transaction to simulate against consensus rules |