antelope icon indicating copy to clipboard operation
antelope copied to clipboard

Helper to return the serialized transaction from a transaction object

Open aaroncox opened this issue 3 years ago • 0 comments

A nice convenience method would be to add a .serialized get helper on to the Transaction structs. Currently we need to import the Serializer and serialize it ourselves using:

const serializedTransaction = Serializer.encode({ object: transaction }).array;

I'm sure there are more transaction transformation helpers that could also be useful on top of that. It's an area we might want to explore.

aaroncox avatar May 27 '21 15:05 aaroncox