I had a talk with shammah about how he uses electrum for stamp, and we identified a feature that might be good to have: checking if a transaction is relayable or not.
For the case not, it could be due to it being a double-spend, or not matching standardness, or too low fee etc.
The call would take a hex-encoded raw transaction, or an array of such, and then return information about the transactions validity / relayability. It would be particulary useful in places that works with off-line transactions where part of the check for validity is that it's unspent and valid according to the network itself.
Input: Array of raw transactions, and optional broadcast flag.
Output: Boolean for total outcome, array of txid:bool, and optional broadcast txid.
It might be possible to include this functionality as part of #86 (both as a standalone blockchain.transaction.status and as a subscription), rather than making a separate feature.