Serialize() {
        const buf = new util_1.default.Writer();
        // assets ([]AssetSettlement)
        {
            bytes_1.WriteVariableSize(buf, this.assets.length, 8, 8);
            this.assets.forEach((value) => {
                buf.write(value.Serialize());
            });
        }
        // timestamp (Timestamp)
        {
            buf.write(this.timestamp.Serialize());
        }
        return buf.buf;
    }
// serialize returns the full OP_RETURN payload bytes.
serialize returns the full OP_RETURN payload bytes.
serialize returns the full OP_RETURN payload bytes .
Serialize() {
        const buf = new util_1.default.Writer();
        {
            bytes_1.WriteVariableSize(buf, this.assets.length, 8, 8);
            this.assets.forEach((value) => {
                buf.write(value.Serialize());
            });
        }
        {
            buf.write(this.timestamp.Serialize());
        }
        return buf.buf;
    }
Serialize ( ) { const buf = new util_1 . default . Writer ( ) ; { bytes_1 . WriteVariableSize ( buf , this . assets . length , 8 , 8 ) ; this . assets . forEach ( ( value ) => { buf . write ( value . Serialize ( ) ) ; } ) ; } { buf . write ( this . timestamp . Serialize ( ) ) ; } return buf . buf ; }
serialize returns the full OP_RETURN payload bytes.
serialize returns the full OP_RETURN payload bytes .
// assets ([]AssetSettlement) // timestamp (Timestamp)