rawtransaction type & sub

Signed-off-by: Stéphane Depierrepont <toorop@toorop.fr>