T3225
As per feedback from D14417, this diff forms part of a series of diffs to incrementally implement the key concepts from D14417:
```
1. Get a working API for N x p2pkh outputs
2. Extend with N x op_return **(this diff)**
3. Extend with N x slp outputs
4. Extend with N x p2sh outputs
```